Uses of Class
com.squareup.okhttp.OkAuthenticator.Credential
| Package | Description |
|---|---|
| com.squareup.okhttp |
-
Uses of OkAuthenticator.Credential in com.squareup.okhttp
Methods in com.squareup.okhttp that return OkAuthenticator.Credential Modifier and Type Method Description OkAuthenticator.CredentialOkAuthenticator. authenticate(Proxy proxy, URL url, List<OkAuthenticator.Challenge> challenges)Returns a credential that satisfies the authentication challenge made byurl.OkAuthenticator.CredentialOkAuthenticator. authenticateProxy(Proxy proxy, URL url, List<OkAuthenticator.Challenge> challenges)Returns a credential that satisfies the authentication challenge made byproxy.static OkAuthenticator.CredentialOkAuthenticator.Credential. basic(String userName, String password)Returns an auth credential for the Basic scheme.