Package | Description |
---|---|
org.apache.http.auth |
Client HTTP authentication APIs.
|
org.apache.http.client |
Client HTTP communication APIs.
|
org.apache.http.impl.client |
Default HTTP client implementation.
|
Modifier and Type | Field and Description |
---|---|
static AuthScope |
AuthScope.ANY
Default scope matching any host, port, realm and authentication scheme.
|
Modifier and Type | Method and Description |
---|---|
AuthScope |
AuthState.getAuthScope()
Deprecated.
(4.2) do not use.
|
Modifier and Type | Method and Description |
---|---|
int |
AuthScope.match(AuthScope that)
Tests if the authentication scopes match.
|
void |
AuthState.setAuthScope(AuthScope authScope)
Deprecated.
(4.2) do not use.
|
Constructor and Description |
---|
AuthScope(AuthScope authscope)
Creates a copy of the given credentials scope.
|
Modifier and Type | Method and Description |
---|---|
Credentials |
CredentialsProvider.getCredentials(AuthScope authscope)
Get the
credentials for the given authentication scope. |
void |
CredentialsProvider.setCredentials(AuthScope authscope,
Credentials credentials)
Sets the
credentials for the given authentication
scope. |
Modifier and Type | Method and Description |
---|---|
Credentials |
SystemDefaultCredentialsProvider.getCredentials(AuthScope authscope) |
Credentials |
BasicCredentialsProvider.getCredentials(AuthScope authscope) |
void |
SystemDefaultCredentialsProvider.setCredentials(AuthScope authscope,
Credentials credentials) |
void |
BasicCredentialsProvider.setCredentials(AuthScope authscope,
Credentials credentials) |
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.