public interface HttpAuthentication
Modifier and Type | Interface and Description |
---|---|
static class |
HttpAuthentication.Challenge
Properties of an HTTP authentication challenge.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
provideAuthorization(java.lang.Iterable<HttpAuthentication.Challenge> challenges)
Computes the
Authorization or Proxy-Authorization header for an authentication challenge. |
java.lang.String provideAuthorization(java.lang.Iterable<HttpAuthentication.Challenge> challenges)
Authorization
or Proxy-Authorization
header for an authentication challenge.challenges
- the authentication challenges provided by the server, if any (may be empty if this is
pre-emptive authentication)