Interface HttpAuthentication


  • public interface HttpAuthentication
    Represents a supported method of HTTP authentication, including proxy authentication.
    Since:
    4.13.0
    • Method Detail

      • provideAuthorization

        java.lang.String provideAuthorization​(java.lang.Iterable<HttpAuthentication.Challenge> challenges)
        Computes the Authorization or Proxy-Authorization header for an authentication challenge.
        Parameters:
        challenges - the authentication challenges provided by the server, if any (may be empty if this is pre-emptive authentication)
        Returns:
        the value for the authorization request header