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(org.apache.hc.core5.net.URIAuthority authority, String requestUri, String credentials)`
    `String` | `getRealm(org.apache.hc.core5.net.URIAuthority authority, String requestUri)`
    `default AuthResult` | `perform(org.apache.hc.core5.net.URIAuthority authority, String requestUri, String credentials)`

- - ### Method Detail

    - #### perform

          default AuthResult perform(org.apache.hc.core5.net.URIAuthority authority,
                                     String requestUri,
                                     String credentials)

      Since:
        5.3

    - #### authenticate

          boolean authenticate(org.apache.hc.core5.net.URIAuthority authority,
                               String requestUri,
                               String credentials)

    - #### getRealm

          String getRealm(org.apache.hc.core5.net.URIAuthority authority,
                          String requestUri)

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