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.
|
Modifier and Type | Method and Description |
---|---|
Credentials |
CredentialsProvider.getCredentials(AuthScope authScope,
org.apache.hc.core5.http.protocol.HttpContext context)
Returns
credentials for the given authentication scope,
if available. |
int |
AuthScope.match(AuthScope that)
Tests if the authentication scopes match.
|
void |
CredentialsStore.setCredentials(AuthScope authScope,
Credentials credentials)
Sets the
credentials for the given authentication
scope. |
Constructor and Description |
---|
AuthScope(AuthScope authScope)
Creates a copy of the given credentials scope.
|
Modifier and Type | Method and Description |
---|---|
Executor |
Executor.auth(AuthScope authScope,
Credentials credentials) |
Modifier and Type | Method and Description |
---|---|
CredentialsProviderBuilder |
CredentialsProviderBuilder.add(AuthScope authScope,
Credentials credentials) |
CredentialsProviderBuilder |
CredentialsProviderBuilder.add(AuthScope authScope,
String username,
char[] password) |
Credentials |
BasicCredentialsProvider.getCredentials(AuthScope authScope,
org.apache.hc.core5.http.protocol.HttpContext context) |
Credentials |
SystemDefaultCredentialsProvider.getCredentials(AuthScope authScope,
org.apache.hc.core5.http.protocol.HttpContext context) |
void |
BasicCredentialsProvider.setCredentials(AuthScope authScope,
Credentials credentials) |
void |
SystemDefaultCredentialsProvider.setCredentials(AuthScope authScope,
Credentials credentials) |
Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.