//okhttp-urlconnection/okhttp3/JavaNetAuthenticator
JavaNetAuthenticator¶
[jvm]\ class JavaNetAuthenticator : Authenticator
Adapts Authenticator to okhttp3.Authenticator. Configure OkHttp to use Authenticator with okhttp3.OkHttpClient.Builder.authenticator or okhttp3.OkHttpClient.Builder.proxyAuthenticator.
Constructors¶
JavaNetAuthenticator | [jvm] fun JavaNetAuthenticator() |
Functions¶
Name | Summary |
---|---|
authenticate | [jvm] open override fun authenticate(route: Route?, response: Response): Request? |