Class JpaOAuthClientRegistration

java.lang.Object
com.broadleafcommerce.auth.client.provider.jpa.domain.JpaOAuthClientRegistration
All Implemented Interfaces:
com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware, com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable, Serializable

@Entity public class JpaOAuthClientRegistration extends Object implements Serializable, com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable, com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware
JPA representation of a ClientRegistration with a tenant id.
See Also:
  • Constructor Details

    • JpaOAuthClientRegistration

      public JpaOAuthClientRegistration()
  • Method Details

    • getBusinessDomainType

      public Class<?> getBusinessDomainType()
      Specified by:
      getBusinessDomainType in interface com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware
    • fromMe

      @NonNull public org.modelmapper.ModelMapper fromMe()
      Specified by:
      fromMe in interface com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
    • toMe

      @NonNull public org.modelmapper.ModelMapper toMe()
      Specified by:
      toMe in interface com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
    • getId

      public String getId()
    • getTenantId

      public String getTenantId()
    • getRegistrationId

      public String getRegistrationId()
    • getClientId

      public String getClientId()
    • getClientSecret

      public String getClientSecret()
    • getClientAuthenticationMethod

      public String getClientAuthenticationMethod()
    • getAuthorizationGrantType

      public String getAuthorizationGrantType()
    • getRedirectUriTemplate

      public String getRedirectUriTemplate()
    • getScopes

      public Set<String> getScopes()
    • getClientName

      public String getClientName()
    • getProviderDetails

      public JpaOAuthClientProviderDetails getProviderDetails()
    • setId

      public void setId(String id)
    • setTenantId

      public void setTenantId(String tenantId)
    • setRegistrationId

      public void setRegistrationId(String registrationId)
    • setClientId

      public void setClientId(String clientId)
    • setClientSecret

      public void setClientSecret(String clientSecret)
    • setClientAuthenticationMethod

      public void setClientAuthenticationMethod(String clientAuthenticationMethod)
    • setAuthorizationGrantType

      public void setAuthorizationGrantType(String authorizationGrantType)
    • setRedirectUriTemplate

      public void setRedirectUriTemplate(String redirectUriTemplate)
    • setScopes

      public void setScopes(Set<String> scopes)
    • setClientName

      public void setClientName(String clientName)
    • setProviderDetails

      public void setProviderDetails(JpaOAuthClientProviderDetails providerDetails)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object