Class DefaultOAuth2AuthorizedClientRepository.TenantAwareOAuth2AuthorizedClientWrapper

java.lang.Object
com.broadleafcommerce.auth.client.service.DefaultOAuth2AuthorizedClientRepository.TenantAwareOAuth2AuthorizedClientWrapper
Enclosing class:
DefaultOAuth2AuthorizedClientRepository

public static class DefaultOAuth2AuthorizedClientRepository.TenantAwareOAuth2AuthorizedClientWrapper extends Object
This class holds the necessary fields for saving and loading OAuth2AuthorizedClient.
  • Constructor Details

    • TenantAwareOAuth2AuthorizedClientWrapper

      public TenantAwareOAuth2AuthorizedClientWrapper()
    • TenantAwareOAuth2AuthorizedClientWrapper

      public TenantAwareOAuth2AuthorizedClientWrapper(org.springframework.security.oauth2.client.OAuth2AuthorizedClient authorizedClient, String tenantId)
  • Method Details

    • getTenantId

      public String getTenantId()
    • getClientRegistrationId

      public String getClientRegistrationId()
    • getPrincipalName

      public String getPrincipalName()
    • getAccessTokenType

      public String getAccessTokenType()
    • getAccessTokenValue

      public String getAccessTokenValue()
    • getAccessTokenIssuedAt

      public Long getAccessTokenIssuedAt()
    • getAccessTokenExpiresAt

      public Long getAccessTokenExpiresAt()
    • getAccessTokenScopes

      public String getAccessTokenScopes()
    • getRefreshTokenValue

      public String getRefreshTokenValue()
    • getRefreshTokenIssuedAt

      public Long getRefreshTokenIssuedAt()
    • setTenantId

      public void setTenantId(String tenantId)
    • setClientRegistrationId

      public void setClientRegistrationId(String clientRegistrationId)
    • setPrincipalName

      public void setPrincipalName(String principalName)
    • setAccessTokenType

      public void setAccessTokenType(String accessTokenType)
    • setAccessTokenValue

      public void setAccessTokenValue(String accessTokenValue)
    • setAccessTokenIssuedAt

      public void setAccessTokenIssuedAt(Long accessTokenIssuedAt)
    • setAccessTokenExpiresAt

      public void setAccessTokenExpiresAt(Long accessTokenExpiresAt)
    • setAccessTokenScopes

      public void setAccessTokenScopes(String accessTokenScopes)
    • setRefreshTokenValue

      public void setRefreshTokenValue(String refreshTokenValue)
    • setRefreshTokenIssuedAt

      public void setRefreshTokenIssuedAt(Long refreshTokenIssuedAt)
    • 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