Skip to content

okhttp / okhttp3 / Authenticator


interface Authenticator


Name Summary
authenticate Returns a request that includes a credential to satisfy an authentication challenge in response. Returns null if the challenge cannot be satisfied.abstract fun authenticate(route:Route?, response:Response):Request?

Companion Object Properties

Name Summary
JAVA_NET_AUTHENTICATOR An authenticator that uses the global authenticator.val JAVA_NET_AUTHENTICATOR:Authenticator
NONE An authenticator that knows no credentials and makes no attempt to authenticate.val NONE:Authenticator