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 loadingOAuth2AuthorizedClient
.
-
-
Constructor Summary
Constructors Constructor Description TenantAwareOAuth2AuthorizedClientWrapper()
TenantAwareOAuth2AuthorizedClientWrapper(org.springframework.security.oauth2.client.OAuth2AuthorizedClient authorizedClient, String tenantId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
Long
getAccessTokenExpiresAt()
Long
getAccessTokenIssuedAt()
String
getAccessTokenScopes()
String
getAccessTokenType()
String
getAccessTokenValue()
String
getClientRegistrationId()
String
getPrincipalName()
Long
getRefreshTokenIssuedAt()
String
getRefreshTokenValue()
String
getTenantId()
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)
String
toString()
-
-
-
Constructor Detail
-
TenantAwareOAuth2AuthorizedClientWrapper
public TenantAwareOAuth2AuthorizedClientWrapper()
-
TenantAwareOAuth2AuthorizedClientWrapper
public TenantAwareOAuth2AuthorizedClientWrapper(org.springframework.security.oauth2.client.OAuth2AuthorizedClient authorizedClient, String tenantId)
-
-
Method Detail
-
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)
-
canEqual
protected boolean canEqual(Object other)
-
-