## Uses of Interface
org.apache.hc.client5.http.auth.Credentials

- Packages that use Credentials
  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.

- - ### Uses of Credentials in org.apache.hc.client5.http.auth

    Classes in org.apache.hc.client5.http.auth that implement Credentials
    Modifier and Type | Class and Description
    --- | ---
    `class` | `KerberosCredentials` Kerberos specific `Credentials` representation based on `GSSCredential`.
    `class` | `NTCredentials` Microsoft Windows specific `Credentials` representation that includes Windows specific attributes such as name of the domain the user belongs to.
    `class` | `UsernamePasswordCredentials` Simple `Credentials` representation based on a user name / password pair.

    Methods in org.apache.hc.client5.http.auth that return Credentials
    Modifier and Type | Method and Description
    --- | ---
    `Credentials` | CredentialsProvider.`getCredentials(AuthScope authScope, HttpContext context)` Returns `credentials` for the given authentication scope, if available.

    Methods in org.apache.hc.client5.http.auth with parameters of type Credentials
    Modifier and Type | Method and Description
    --- | ---
    `void` | CredentialsStore.`setCredentials(AuthScope authScope, Credentials credentials)` Sets the `credentials` for the given authentication scope.

  - ### Uses of Credentials in org.apache.hc.client5.http.fluent

    Methods in org.apache.hc.client5.http.fluent with parameters of type Credentials
    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)`

  - ### Uses of Credentials in org.apache.hc.client5.http.impl.auth

    Methods in org.apache.hc.client5.http.impl.auth that return Credentials
    Modifier and Type | Method and Description
    --- | ---
    `Credentials` | BasicCredentialsProvider.`getCredentials(AuthScope authScope, HttpContext context)`
    `Credentials` | SystemDefaultCredentialsProvider.`getCredentials(AuthScope authScope, HttpContext context)`

    Methods in org.apache.hc.client5.http.impl.auth with parameters of type Credentials
    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)`

  - ### Uses of Credentials in org.apache.hc.client5.http.impl.classic

    Methods in org.apache.hc.client5.http.impl.classic with parameters of type 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.