Home
last modified time | relevance | path

Searched refs:setAuthenticator (Results 1 – 5 of 5) sorted by relevance

/external/okhttp/samples/guide/src/main/java/com/squareup/okhttp/recipes/
DAuthenticate.java30 client.setAuthenticator(new Authenticator() { in run()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DCallTest.java381 client.setAuthenticator(new RecordingOkAuthenticator(credential)); in postBodyRetransmittedAfterAuthorizationFail()
404 client.setAuthenticator(new RecordingOkAuthenticator(credential)); in attemptAuthorization20Times()
418 client.setAuthenticator(new RecordingOkAuthenticator(credential)); in doesNotAttemptAuthorization21Times()
1441 client.setAuthenticator(new RecordingOkAuthenticator(Credentials.basic("jesse", "secret"))); in redirectsDoNotIncludeTooManyAuthHeaders()
1874 client.setAuthenticator(new RecordingOkAuthenticator("password")); in gzipResponseAfterAuthenticationChallenge()
2089 client.setAuthenticator(new RecordingOkAuthenticator("password")); in proxyAuthenticateOnConnect()
DURLConnectionTest.java1459 client.client().setAuthenticator(new RecordingOkAuthenticator(credential));
2004 client.client().setAuthenticator(
2904 client.client().setAuthenticator(authenticator);
2924 client.client().setAuthenticator(authenticator);
2946 client.client().setAuthenticator(authenticator);
2963 client.client().setAuthenticator(new RecordingOkAuthenticator(credential));
2975 client.client().setAuthenticator(new RecordingOkAuthenticator(credential));
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DOkHttpClient.java390 public OkHttpClient setAuthenticator(Authenticator authenticator) { in setAuthenticator() method in OkHttpClient
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/
DOkHttpClient.java401 public OkHttpClient setAuthenticator(Authenticator authenticator) { in setAuthenticator() method in OkHttpClient