okhttp / okhttp3 / OkHttpClient / Builder / proxyAuthenticator

proxyAuthenticator

fun proxyAuthenticator(proxyAuthenticator: Authenticator): OkHttpClient.Builder

Sets the authenticator used to respond to challenges from proxy servers. Use authenticator to set the authenticator for origin servers.

If unset, the no authentication will be attempted.