Class PayPalOAuth2ClientRegistrationUtils
- java.lang.Object
-
- com.broadleafcommerce.paypal.micro.oauth2.client.PayPalOAuth2ClientRegistrationUtils
-
public final class PayPalOAuth2ClientRegistrationUtils extends Object
- Author:
- Dima Myroniuk (dmyroniuk)
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
getClientRegistrationId(@NonNull PayPalCheckoutApiProperties properties, String applicationId, String tenantId)
Generates the client registration id for the specified application id and tenant id.
-
-
-
Method Detail
-
getClientRegistrationId
public static String getClientRegistrationId(@NonNull @NonNull PayPalCheckoutApiProperties properties, @Nullable String applicationId, @Nullable String tenantId)
Generates the client registration id for the specified application id and tenant id. The default implementation generates it using "DigestUtils" - "DigestUtils.md5Hex(clientId + clientSecret)".- Parameters:
properties
- the checkout api propertiesapplicationId
- the application idtenantId
- the tenant id- Returns:
- the generated client registration id.
-
-