Class DefaultVerifoneAuthProvider
- java.lang.Object
-
- com.broadleafcommerce.payment.service.auth.DefaultVerifoneAuthProvider
-
- All Implemented Interfaces:
VerifoneAuthProvider
public class DefaultVerifoneAuthProvider extends Object implements VerifoneAuthProvider
The default implementation forVerifoneAuthProvider.- Author:
- Dima Myroniuk (dmyroniuk)
-
-
Constructor Summary
Constructors Constructor Description DefaultVerifoneAuthProvider(VerifoneConfigurationProperties properties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetBasicAuthorizationHeader(String applicationId, String tenantId)Returns the basic Authorization header in the format "Basic {encodedKey}".protected StringgetKey(String applicationId, String tenantId)protected VerifoneConfigurationPropertiesgetProperties()
-
-
-
Constructor Detail
-
DefaultVerifoneAuthProvider
public DefaultVerifoneAuthProvider(VerifoneConfigurationProperties properties)
-
-
Method Detail
-
getBasicAuthorizationHeader
public String getBasicAuthorizationHeader(@Nullable String applicationId, @Nullable String tenantId)
Description copied from interface:VerifoneAuthProviderReturns the basic Authorization header in the format "Basic {encodedKey}".- Specified by:
getBasicAuthorizationHeaderin interfaceVerifoneAuthProvider- Parameters:
applicationId- the application idtenantId- the tenant id- Returns:
- the basic encoded header in the format "Basic {encodedKey}"
- See Also:
- BasicAuth
-
getProperties
protected VerifoneConfigurationProperties getProperties()
-
-