| 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  | KerberosCredentialsKerberos specific  Credentialsrepresentation based onGSSCredential. | 
| class  | NTCredentialsMicrosoft Windows specific  Credentialsrepresentation that includes
 Windows specific attributes such as name of the domain the user belongs to. | 
| class  | UsernamePasswordCredentialsSimple  Credentialsrepresentation based on a user name / password
 pair. | 
| Modifier and Type | Method and Description | 
|---|---|
| Credentials | CredentialsProvider. getCredentials(AuthScope authScope,
              org.apache.hc.core5.http.protocol.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(org.apache.hc.core5.http.HttpHost host,
    Credentials credentials) | 
| Executor | Executor. auth(String host,
    Credentials credentials) | 
| Modifier and Type | Method and Description | 
|---|---|
| Credentials | BasicCredentialsProvider. getCredentials(AuthScope authScope,
              org.apache.hc.core5.http.protocol.HttpContext httpContext) | 
| Credentials | SystemDefaultCredentialsProvider. getCredentials(AuthScope authScope,
              org.apache.hc.core5.http.protocol.HttpContext context) | 
| Modifier and Type | Method and Description | 
|---|---|
| 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(org.apache.hc.core5.http.HttpHost proxy,
      org.apache.hc.core5.http.HttpHost target,
      Credentials credentials) | 
Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.