public interface OAuth2TokenEntityService extends org.springframework.security.oauth2.provider.token.AuthorizationServerTokenServices, org.springframework.security.oauth2.provider.token.ResourceServerTokenServices
OAuth2AccessTokenEntity readAccessToken(String accessTokenValue)
readAccessToken
in interface org.springframework.security.oauth2.provider.token.ResourceServerTokenServices
OAuth2RefreshTokenEntity getRefreshToken(String refreshTokenValue)
void revokeRefreshToken(OAuth2RefreshTokenEntity refreshToken)
void revokeAccessToken(OAuth2AccessTokenEntity accessToken)
List<OAuth2AccessTokenEntity> getAccessTokensForClient(ClientDetailsEntity client)
List<OAuth2RefreshTokenEntity> getRefreshTokensForClient(ClientDetailsEntity client)
void clearExpiredTokens()
OAuth2AccessTokenEntity saveAccessToken(OAuth2AccessTokenEntity accessToken)
OAuth2RefreshTokenEntity saveRefreshToken(OAuth2RefreshTokenEntity refreshToken)
OAuth2AccessTokenEntity getAccessToken(org.springframework.security.oauth2.provider.OAuth2Authentication authentication)
getAccessToken
in interface org.springframework.security.oauth2.provider.token.AuthorizationServerTokenServices
OAuth2AccessTokenEntity getAccessTokenById(Long id)
OAuth2RefreshTokenEntity getRefreshTokenById(Long id)
Set<OAuth2AccessTokenEntity> getAllAccessTokensForUser(String name)
Set<OAuth2RefreshTokenEntity> getAllRefreshTokensForUser(String name)
OAuth2AccessTokenEntity getRegistrationAccessTokenForClient(ClientDetailsEntity client)
Copyright © 2018. All rights reserved.