| Package | Description |
|---|---|
| com.squareup.okhttp | |
| com.squareup.okhttp.internal.http |
| Modifier and Type | Method and Description |
|---|---|
Authenticator |
Address.getAuthenticator()
Returns the client's authenticator.
|
Authenticator |
OkHttpClient.getAuthenticator() |
| Modifier and Type | Method and Description |
|---|---|
OkHttpClient |
OkHttpClient.setAuthenticator(Authenticator authenticator)
Sets the authenticator used to respond to challenges from the remote web
server or proxy server.
|
| Constructor and Description |
|---|
Address(String uriHost,
int uriPort,
Dns dns,
SocketFactory socketFactory,
SSLSocketFactory sslSocketFactory,
HostnameVerifier hostnameVerifier,
CertificatePinner certificatePinner,
Authenticator authenticator,
Proxy proxy,
List<Protocol> protocols,
List<ConnectionSpec> connectionSpecs,
ProxySelector proxySelector) |
| Modifier and Type | Class and Description |
|---|---|
class |
AuthenticatorAdapter
Adapts
Authenticator to Authenticator. |
| Modifier and Type | Field and Description |
|---|---|
static Authenticator |
AuthenticatorAdapter.INSTANCE
Uses the global authenticator to get the password.
|
| Modifier and Type | Method and Description |
|---|---|
static Request |
OkHeaders.processAuthHeader(Authenticator authenticator,
Response response,
Proxy proxy)
React to a failed authorization response by looking up new credentials.
|
Copyright © 2017. All Rights Reserved.