org.apache.hc.client5.testing.auth

## Interface AuthenticationHandler<T>

- All Known Implementing Classes:
    BasicAuthenticationHandler, BearerAuthenticationHandler

      public interface AuthenticationHandler<T>

  Since:
    5.3

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `challenge(List<org.apache.hc.core5.http.NameValuePair> params)`
    `T` | `extractAuthToken(String challengeResponse)`

- - ### Method Detail

    - #### challenge

          String challenge(List<org.apache.hc.core5.http.NameValuePair> params)

    - #### extractAuthToken

          T extractAuthToken(String challengeResponse)
                      throws org.apache.hc.core5.http.HttpException

      Throws:
        `org.apache.hc.core5.http.HttpException`

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