public class JwtSignatureToken extends Object implements TokenGenerator
| Constructor and Description |
|---|
JwtSignatureToken(MerchantConfig merchantConfig,
String requestBody,
String reqVerb,
String reqTarget,
boolean isResponseMLEForApi)
Constructs a JWT signature token generator.
|
public JwtSignatureToken(MerchantConfig merchantConfig, String requestBody, String reqVerb, String reqTarget, boolean isResponseMLEForApi)
merchantConfig - list of parameters required for JWT tokenrequestBody - user information to be sentreqVerb - the HTTP request methodpublic String getToken() throws ConfigException
getToken in interface TokenGeneratorToken may be generated as HTTP signature or JWT
ConfigExceptionpublic String generateSignature() throws ConfigException
ConfigException - - if some exception will occur.Copyright © 2026. All rights reserved.