Class OAuthClientRegistrationWrapper
- java.lang.Object
- 
- com.broadleafcommerce.auth.client.domain.OAuthClientRegistrationWrapper
 
- 
- All Implemented Interfaces:
- Serializable
 
 public class OAuthClientRegistrationWrapper extends Object implements Serializable Wrapper forClientRegistration. This wrapper adds fields for id and tenantId.This class is necessary because we are not able to use ClientRegistrationas the business type counterpart toJpaOAuthClientRegistration. This is becauseClientRegistrationis markedfinaland theModelMappercreated in toMe/fromMe methods does not support mapping tofinalclasses.When extending this domain, if desiring to still use DefaultClientRegistrationPropertiesService, ensure thatDefaultClientRegistrationPropertiesService#getWrapperType()is overridden to return the type of your wrapper extension as well.
- 
- 
Constructor SummaryConstructors Constructor Description OAuthClientRegistrationWrapper()
 - 
Method Summary
 
- 
- 
- 
Method Detail- 
getIdpublic String getId() The system ID of the registration- Returns:
- the system ID of the registration
 
 - 
getTenantIdpublic String getTenantId() The ID of theTenantthis registration belongs to. Different tenants can have different credentials for the same client provider (e.g. Facebook, Google).- Returns:
- The ID of the Tenantthis registration belongs to.
 
 - 
getRegistrationIdpublic String getRegistrationId() - See Also:
- ClientRegistration.getRegistrationId()
 
 - 
getClientIdpublic String getClientId() - See Also:
- ClientRegistration.getClientId()
 
 - 
getClientSecretpublic String getClientSecret() - See Also:
- ClientRegistration.getClientSecret()
 
 - 
getClientAuthenticationMethodpublic String getClientAuthenticationMethod() - See Also:
- ClientRegistration.getClientAuthenticationMethod()
 
 - 
getAuthorizationGrantTypepublic String getAuthorizationGrantType() - See Also:
- ClientRegistration.getAuthorizationGrantType()
 
 - 
getRedirectUriTemplatepublic String getRedirectUriTemplate() - See Also:
- ClientRegistration.getRedirectUriTemplate()
 
 - 
getProviderDetailspublic OAuthClientRegistrationProviderDetails getProviderDetails() - See Also:
- ClientRegistration.getProviderDetails(),- OAuthClientRegistrationProviderDetails
 
 - 
getClientNamepublic String getClientName() - See Also:
- ClientRegistration.getClientName()
 
 - 
setIdpublic void setId(String id) The system ID of the registration- Parameters:
- id- the system ID of the registration
 
 - 
setTenantIdpublic void setTenantId(String tenantId) The ID of theTenantthis registration belongs to. Different tenants can have different credentials for the same client provider (e.g. Facebook, Google).- Parameters:
- tenantId- The ID of the- Tenantthis registration belongs to.
 
 - 
setRegistrationIdpublic void setRegistrationId(String registrationId) - See Also:
- ClientRegistration.getRegistrationId()
 
 - 
setClientIdpublic void setClientId(String clientId) - See Also:
- ClientRegistration.getClientId()
 
 - 
setClientSecretpublic void setClientSecret(String clientSecret) - See Also:
- ClientRegistration.getClientSecret()
 
 - 
setClientAuthenticationMethodpublic void setClientAuthenticationMethod(String clientAuthenticationMethod) - See Also:
- ClientRegistration.getClientAuthenticationMethod()
 
 - 
setAuthorizationGrantTypepublic void setAuthorizationGrantType(String authorizationGrantType) - See Also:
- ClientRegistration.getAuthorizationGrantType()
 
 - 
setRedirectUriTemplatepublic void setRedirectUriTemplate(String redirectUriTemplate) - See Also:
- ClientRegistration.getRedirectUriTemplate()
 
 - 
setProviderDetailspublic void setProviderDetails(OAuthClientRegistrationProviderDetails providerDetails) - See Also:
- ClientRegistration.getProviderDetails(),- OAuthClientRegistrationProviderDetails
 
 - 
setClientNamepublic void setClientName(String clientName) - See Also:
- ClientRegistration.getClientName()
 
 - 
canEqualprotected boolean canEqual(Object other) 
 
- 
 
-