uriPath += "?";
}
// Include any DevPay tokens in signed request
if (getProviderCredentials() instanceof AWSDevPayCredentials) {
AWSDevPayCredentials devPayCredentials = (AWSDevPayCredentials) getProviderCredentials();
if (devPayCredentials.getProductToken() != null) {
String securityToken = devPayCredentials.getUserToken()
+ "," + devPayCredentials.getProductToken();
headersMap.put(Constants.AMZ_SECURITY_TOKEN, securityToken);
} else {
headersMap.put(Constants.AMZ_SECURITY_TOKEN, devPayCredentials.getUserToken());
}
uriPath += Constants.AMZ_SECURITY_TOKEN + "=" +
RestUtils.encodeUrlString((String) headersMap.get(Constants.AMZ_SECURITY_TOKEN)) + "&";
}