Package com.stripe.net
Class RequestSigningAuthenticator
java.lang.Object
com.stripe.net.RequestSigningAuthenticator
- All Implemented Interfaces:
Authenticator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal StripeRequest
authenticate
(StripeRequest request) * Authenticate the requestabstract byte[]
sign
(byte[] signatureBase)
-
Constructor Details
-
RequestSigningAuthenticator
-
-
Method Details
-
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:
AuthenticationException
-
sign
- Throws:
GeneralSecurityException
-