public class Authorization extends Object
| Constructor and Description |
|---|
Authorization() |
| Modifier and Type | Method and Description |
|---|---|
String |
getToken(MerchantConfig merchantConfig,
String reqVerb,
String requestData,
String reqTarget,
String date,
boolean isResponseMLEForApi)
Generates authentication token based on merchant configuration and request parameters.
|
public String getToken(MerchantConfig merchantConfig, String reqVerb, String requestData, String reqTarget, String date, boolean isResponseMLEForApi) throws ConfigException
merchantConfig - contains merchant informationreqVerb - the HTTP request method (GET, POST, PUT, etc.)requestData - the request payload datareqTarget - the request target URL pathdate - the date string for the requestConfigException - if some value will be wrong or missing for
merchant.Copyright © 2026. All rights reserved.