Class BearerAuthenticator
java.lang.Object
org.infinispan.client.rest.impl.okhttp.auth.AbstractAuthenticator
org.infinispan.client.rest.impl.okhttp.auth.BearerAuthenticator
- All Implemented Interfaces:
okhttp3.Authenticator,CachingAuthenticator
-
Nested Class Summary
Nested classes/interfaces inherited from class org.infinispan.client.rest.impl.okhttp.auth.AbstractAuthenticator
AbstractAuthenticator.AuthenticationException -
Field Summary
Fields inherited from class org.infinispan.client.rest.impl.okhttp.auth.AbstractAuthenticator
WWW_AUTH, WWW_AUTH_RESPFields inherited from interface okhttp3.Authenticator
NONE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionokhttp3.Requestauthenticate(okhttp3.Route route, okhttp3.Response response) okhttp3.RequestauthenticateWithState(okhttp3.Route route, okhttp3.Request request)
-
Constructor Details
-
BearerAuthenticator
-
-
Method Details
-
authenticate
public okhttp3.Request authenticate(okhttp3.Route route, okhttp3.Response response) - Specified by:
authenticatein interfaceokhttp3.Authenticator
-
authenticateWithState
public okhttp3.Request authenticateWithState(okhttp3.Route route, okhttp3.Request request) - Specified by:
authenticateWithStatein interfaceCachingAuthenticator
-