| Package | Description | 
|---|---|
| org.apache.hc.client5.http.auth | Client HTTP authentication APIs. | 
| org.apache.hc.client5.http.fluent | Simple facade APIs for HttpClient based on the concept of
 a fluent interface. | 
| org.apache.hc.client5.http.impl.auth | Standard and common HTTP authentication schemes. | 
| org.apache.hc.client5.http.impl.classic | Classic HTTP client API implementation that supports HTTP/1.1 transport
 only. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | BearerTokenOpaque token  Credentialsusually representing a set of claims, often encrypted
 or signed. | 
| class  | KerberosCredentialsDeprecated. 
 Do not use. The GGS based experimental authentication schemes are no longer
 supported. Consider using Basic or Bearer authentication with TLS instead. | 
| class  | NTCredentialsDeprecated. 
 Do not use. the NTLM authentication scheme is no longer supported.
 Consider using Basic or Bearer authentication with TLS instead. | 
| class  | UsernamePasswordCredentialsSimple  Credentialsrepresentation based on a user name / password
 pair. | 
| Modifier and Type | Method and Description | 
|---|---|
| Credentials | CredentialsProvider. getCredentials(AuthScope authScope,
              HttpContext context)Returns  credentialsfor the given authentication scope,
 if available. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | CredentialsStore. setCredentials(AuthScope authScope,
              Credentials credentials)Sets the  credentialsfor the given authentication
 scope. | 
| Modifier and Type | Method and Description | 
|---|---|
| Executor | Executor. auth(AuthScope authScope,
    Credentials credentials) | 
| Executor | Executor. auth(HttpHost host,
    Credentials credentials) | 
| Executor | Executor. auth(String host,
    Credentials credentials) | 
| Modifier and Type | Method and Description | 
|---|---|
| Credentials | BasicCredentialsProvider. getCredentials(AuthScope authScope,
              HttpContext context) | 
| Credentials | SystemDefaultCredentialsProvider. getCredentials(AuthScope authScope,
              HttpContext context) | 
| Modifier and Type | Method and Description | 
|---|---|
| CredentialsProviderBuilder | CredentialsProviderBuilder. add(AuthScope authScope,
   Credentials credentials) | 
| CredentialsProviderBuilder | CredentialsProviderBuilder. add(HttpHost httpHost,
   Credentials credentials) | 
| void | BasicScheme. initPreemptive(Credentials credentials) | 
| void | DigestScheme. initPreemptive(Credentials credentials,
              String cnonce,
              String realm) | 
| void | BasicCredentialsProvider. setCredentials(AuthScope authScope,
              Credentials credentials) | 
| void | SystemDefaultCredentialsProvider. setCredentials(AuthScope authScope,
              Credentials credentials) | 
| Modifier and Type | Method and Description | 
|---|---|
| Socket | ProxyClient. tunnel(HttpHost proxy,
      HttpHost target,
      Credentials credentials) | 
Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.