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 Summary
ConstructorsConstructorDescriptionTenantAwareOAuth2AuthorizedClientWrapper(org.springframework.security.oauth2.client.OAuth2AuthorizedClient authorizedClient, String tenantId) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleaninthashCode()voidsetAccessTokenExpiresAt(Long accessTokenExpiresAt) voidsetAccessTokenIssuedAt(Long accessTokenIssuedAt) voidsetAccessTokenScopes(String accessTokenScopes) voidsetAccessTokenType(String accessTokenType) voidsetAccessTokenValue(String accessTokenValue) voidsetClientRegistrationId(String clientRegistrationId) voidsetPrincipalName(String principalName) voidsetRefreshTokenIssuedAt(Long refreshTokenIssuedAt) voidsetRefreshTokenValue(String refreshTokenValue) voidsetTenantId(String tenantId) toString()
-
Constructor Details
-
TenantAwareOAuth2AuthorizedClientWrapper
public TenantAwareOAuth2AuthorizedClientWrapper() -
TenantAwareOAuth2AuthorizedClientWrapper
public TenantAwareOAuth2AuthorizedClientWrapper(org.springframework.security.oauth2.client.OAuth2AuthorizedClient authorizedClient, String tenantId)
-
-
Method Details
-
getTenantId
-
getClientRegistrationId
-
getPrincipalName
-
getAccessTokenType
-
getAccessTokenValue
-
getAccessTokenIssuedAt
-
getAccessTokenExpiresAt
-
getAccessTokenScopes
-
getRefreshTokenValue
-
getRefreshTokenIssuedAt
-
setTenantId
-
setClientRegistrationId
-
setPrincipalName
-
setAccessTokenType
-
setAccessTokenValue
-
setAccessTokenIssuedAt
-
setAccessTokenExpiresAt
-
setAccessTokenScopes
-
setRefreshTokenValue
-
setRefreshTokenIssuedAt
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-