org.apache.hc.client5.testing.auth

## Interface Authenticator

-     public interface Authenticator

- - ### Method Summary

    All Methods Instance Methods Abstract Methods Default Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `authenticate(URIAuthority authority, String requestUri, String credentials)`
    `String` | `getRealm(URIAuthority authority, String requestUri)`
    `default AuthResult` | `perform(URIAuthority authority, String requestUri, String credentials)`

- - ### Method Detail

    - #### perform

          default AuthResult perform(URIAuthority authority,
                                     String requestUri,
                                     String credentials)

      Since:
        5.3

    - #### authenticate

          boolean authenticate(URIAuthority authority,
                               String requestUri,
                               String credentials)

    - #### getRealm

          String getRealm(URIAuthority authority,
                          String requestUri)

Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.