JavaNetAuthenticator

Deprecated

Use okhttp3.Authenticator.Companion.JAVA_NET_AUTHENTICATOR instead

Do not use this.

Instead, configure your OkHttpClient.Builder to use Authenticator.JAVA_NET_AUTHENTICATOR:

val okHttpClient = OkHttpClient.Builder()
.authenticator(okhttp3.Authenticator.Companion.JAVA_NET_AUTHENTICATOR)
.build()

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open override fun authenticate(route: Route?, response: Response): Request?