Package com.stripe.net
Class BearerTokenAuthenticator
java.lang.Object
com.stripe.net.BearerTokenAuthenticator
- All Implemented Interfaces:
Authenticator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauthenticate(StripeRequest request) * Authenticate the requestbooleaninthashCode()
-
Constructor Details
-
BearerTokenAuthenticator
-
-
Method Details
-
getApiKey
-
authenticate
Description copied from interface:Authenticator* Authenticate the request- Specified by:
authenticatein interfaceAuthenticator- Parameters:
request- the request that need authentication.- Returns:
- the request with authentication headers applied.
- Throws:
StripeException- on authentication errors.
-
equals
-
hashCode
public int hashCode()
-