Package com.cybersource.authsdk.core
Class Authorization
java.lang.Object
com.cybersource.authsdk.core.Authorization
This class calls for the generation of Signature message depending on the
authentication type.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetToken(MerchantConfig merchantConfig) voidsetJWTRequestBody(String jwtrequestBody)
-
Constructor Details
-
Authorization
public Authorization()
-
-
Method Details
-
setJWTRequestBody
- Parameters:
jwtrequestBody- - not null and required values for JWT
-
getToken
- Parameters:
merchantConfig- -contains merchant information.- Returns:
- token generated as per http_signature or JWT.
- Throws:
ConfigException- - if some value will be wrong or missing for merchant.
-