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 String
getBasicAuthorizationHeader(String applicationId, String tenantId)
Returns the basic Authorization header in the format "Basic {encodedKey}".protected String
getKey(String applicationId, String tenantId)
protected VerifoneConfigurationProperties
getProperties()
-
-
-
Constructor Detail
-
DefaultVerifoneAuthProvider
public DefaultVerifoneAuthProvider(VerifoneConfigurationProperties properties)
-
-
Method Detail
-
getBasicAuthorizationHeader
public String getBasicAuthorizationHeader(@Nullable String applicationId, @Nullable String tenantId)
Description copied from interface:VerifoneAuthProvider
Returns the basic Authorization header in the format "Basic {encodedKey}".- Specified by:
getBasicAuthorizationHeader
in 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()
-
-