| Modifier and Type | Field and Description |
|---|---|
static Authenticator |
Authenticator.NONE
An authenticator that knows no credentials and makes no attempt to authenticate.
|
| Modifier and Type | Method and Description |
|---|---|
Authenticator |
OkHttpClient.authenticator() |
Authenticator |
OkHttpClient.proxyAuthenticator() |
Authenticator |
Address.proxyAuthenticator()
Returns the client's proxy authenticator.
|
| Modifier and Type | Method and Description |
|---|---|
OkHttpClient.Builder |
OkHttpClient.Builder.authenticator(Authenticator authenticator)
Sets the authenticator used to respond to challenges from origin servers.
|
OkHttpClient.Builder |
OkHttpClient.Builder.proxyAuthenticator(Authenticator proxyAuthenticator)
Sets the authenticator used to respond to challenges from proxy servers.
|
| Constructor and Description |
|---|
Address(java.lang.String uriHost,
int uriPort,
Dns dns,
javax.net.SocketFactory socketFactory,
javax.net.ssl.SSLSocketFactory sslSocketFactory,
javax.net.ssl.HostnameVerifier hostnameVerifier,
CertificatePinner certificatePinner,
Authenticator proxyAuthenticator,
java.net.Proxy proxy,
java.util.List<Protocol> protocols,
java.util.List<ConnectionSpec> connectionSpecs,
java.net.ProxySelector proxySelector) |
Copyright © 2017. All Rights Reserved.