Uses of Interface
com.squareup.okhttp.OkAuthenticator
| Package | Description |
|---|---|
| com.squareup.okhttp | |
| com.squareup.okhttp.internal.http |
-
Uses of OkAuthenticator in com.squareup.okhttp
Methods in com.squareup.okhttp that return OkAuthenticator Modifier and Type Method Description OkAuthenticatorAddress. getAuthenticator()Returns the client's authenticator.OkAuthenticatorOkHttpClient. getAuthenticator()Methods in com.squareup.okhttp with parameters of type OkAuthenticator Modifier and Type Method Description OkHttpClientOkHttpClient. setAuthenticator(OkAuthenticator authenticator)Sets the authenticator used to respond to challenges from the remote web server or proxy server.Constructors in com.squareup.okhttp with parameters of type OkAuthenticator Constructor Description Address(String uriHost, int uriPort, SSLSocketFactory sslSocketFactory, HostnameVerifier hostnameVerifier, OkAuthenticator authenticator, Proxy proxy, List<String> transports) -
Uses of OkAuthenticator in com.squareup.okhttp.internal.http
Fields in com.squareup.okhttp.internal.http declared as OkAuthenticator Modifier and Type Field Description static OkAuthenticatorHttpAuthenticator. SYSTEM_DEFAULTUses the global authenticator to get the password.Methods in com.squareup.okhttp.internal.http with parameters of type OkAuthenticator Modifier and Type Method Description static booleanHttpAuthenticator. processAuthHeader(OkAuthenticator authenticator, int responseCode, RawHeaders responseHeaders, RawHeaders successorRequestHeaders, Proxy proxy, URL url)React to a failed authorization response by looking up new credentials.