Interface HttpAuthentication
-
public interface HttpAuthentication
Represents a supported method of HTTP authentication, including proxy authentication.- Since:
- 4.13.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
HttpAuthentication.Challenge
Properties of an HTTP authentication challenge.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
provideAuthorization(java.lang.Iterable<HttpAuthentication.Challenge> challenges)
Computes theAuthorization
orProxy-Authorization
header for an authentication challenge.
-
-
-
Method Detail
-
provideAuthorization
java.lang.String provideAuthorization(java.lang.Iterable<HttpAuthentication.Challenge> challenges)
Computes theAuthorization
orProxy-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
-
-