public interface OAuth2TokenRepository
OAuth2AccessTokenEntity saveAccessToken(OAuth2AccessTokenEntity token)
OAuth2RefreshTokenEntity getRefreshTokenByValue(String refreshTokenValue)
OAuth2RefreshTokenEntity getRefreshTokenById(Long Id)
void clearAccessTokensForRefreshToken(OAuth2RefreshTokenEntity refreshToken)
void removeRefreshToken(OAuth2RefreshTokenEntity refreshToken)
OAuth2RefreshTokenEntity saveRefreshToken(OAuth2RefreshTokenEntity refreshToken)
OAuth2AccessTokenEntity getAccessTokenByValue(String accessTokenValue)
OAuth2AccessTokenEntity getAccessTokenById(Long id)
void removeAccessToken(OAuth2AccessTokenEntity accessToken)
void clearTokensForClient(ClientDetailsEntity client)
List<OAuth2AccessTokenEntity> getAccessTokensForClient(ClientDetailsEntity client)
List<OAuth2RefreshTokenEntity> getRefreshTokensForClient(ClientDetailsEntity client)
Set<OAuth2AccessTokenEntity> getAllAccessTokens()
Set<OAuth2RefreshTokenEntity> getAllRefreshTokens()
Set<OAuth2AccessTokenEntity> getAllExpiredAccessTokens()
Set<OAuth2AccessTokenEntity> getAllExpiredAccessTokens(PageCriteria pageCriteria)
Set<OAuth2RefreshTokenEntity> getAllExpiredRefreshTokens()
Set<OAuth2RefreshTokenEntity> getAllExpiredRefreshTokens(PageCriteria pageCriteria)
Set<OAuth2AccessTokenEntity> getAccessTokensForResourceSet(ResourceSet rs)
@Deprecated void clearDuplicateAccessTokens()
@Deprecated void clearDuplicateRefreshTokens()
List<OAuth2AccessTokenEntity> getAccessTokensForApprovedSite(ApprovedSite approvedSite)
Copyright © 2018. All rights reserved.