Modifier and Type | Field | Description |
---|---|---|
static Authenticator |
Authenticator.NONE |
An authenticator that knows no credentials and makes no attempt to authenticate.
|
Modifier and Type | Method | Description |
---|---|---|
Authenticator |
OkHttpClient.authenticator() |
|
Authenticator |
Address.proxyAuthenticator() |
Returns the client's proxy authenticator.
|
Authenticator |
OkHttpClient.proxyAuthenticator() |
Modifier and Type | Method | 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 | Description |
---|---|
Address(String uriHost,
int uriPort,
Dns dns,
SocketFactory socketFactory,
SSLSocketFactory sslSocketFactory,
HostnameVerifier hostnameVerifier,
CertificatePinner certificatePinner,
Authenticator proxyAuthenticator,
Proxy proxy,
List<Protocol> protocols,
List<ConnectionSpec> connectionSpecs,
ProxySelector proxySelector) |
Copyright © 2020. All rights reserved.