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
ConstructorDescriptionTenantAwareOAuth2AuthorizedClientWrapper
(org.springframework.security.oauth2.client.OAuth2AuthorizedClient authorizedClient, String tenantId) -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
int
hashCode()
void
setAccessTokenExpiresAt
(Long accessTokenExpiresAt) void
setAccessTokenIssuedAt
(Long accessTokenIssuedAt) void
setAccessTokenScopes
(String accessTokenScopes) void
setAccessTokenType
(String accessTokenType) void
setAccessTokenValue
(String accessTokenValue) void
setClientRegistrationId
(String clientRegistrationId) void
setPrincipalName
(String principalName) void
setRefreshTokenIssuedAt
(Long refreshTokenIssuedAt) void
setRefreshTokenValue
(String refreshTokenValue) void
setTenantId
(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
-