Home
last modified time | relevance | path

Searched refs:setAuthenticator (Results 1 – 4 of 4) 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()
1866 client.setAuthenticator(new RecordingOkAuthenticator("password")); in gzipResponseAfterAuthenticationChallenge()
2081 client.setAuthenticator(new RecordingOkAuthenticator("password")); in proxyAuthenticateOnConnect()
DURLConnectionTest.java1447 client.client().setAuthenticator(new RecordingOkAuthenticator(credential));
1992 client.client().setAuthenticator(
2889 client.client().setAuthenticator(authenticator);
2909 client.client().setAuthenticator(authenticator);
2931 client.client().setAuthenticator(authenticator);
2948 client.client().setAuthenticator(new RecordingOkAuthenticator(credential));
2960 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