Package | Description |
---|---|
org.apache.hc.client5.http.auth |
Client HTTP authentication APIs.
|
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 |
---|---|
CredentialsProviderBuilder |
CredentialsProviderBuilder.add(AuthScope authScope,
Credentials credentials) |
CredentialsProviderBuilder |
CredentialsProviderBuilder.add(AuthScope authScope,
String username,
char[] password) |
Credentials |
SystemDefaultCredentialsProvider.getCredentials(AuthScope authScope,
org.apache.hc.core5.http.protocol.HttpContext context) |
Credentials |
BasicCredentialsProvider.getCredentials(AuthScope authScope,
org.apache.hc.core5.http.protocol.HttpContext context) |
void |
SystemDefaultCredentialsProvider.setCredentials(AuthScope authScope,
Credentials credentials) |
void |
BasicCredentialsProvider.setCredentials(AuthScope authScope,
Credentials credentials) |
Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.