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 requestboolean
int
hashCode()
-
Constructor Details
-
BearerTokenAuthenticator
-
-
Method Details
-
getApiKey
-
authenticate
Description copied from interface:Authenticator
* Authenticate the request- Specified by:
authenticate
in 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()
-