public interface OAuth2AuthorizationService
OAuth 2.0 Authorization(s)
.OAuth2Authorization
Modifier and Type | Method and Description |
---|---|
OAuth2Authorization | findByToken(String token, TokenType tokenType) |
void | save(OAuth2Authorization authorization) Saves the OAuth2Authorization . |
void save(OAuth2Authorization authorization)
OAuth2Authorization
.authorization
- the OAuth2Authorization
OAuth2Authorization findByToken(String token, TokenType tokenType)
token
- the token credentialtokenType
- the token type
OAuth2Authorization
if found, otherwise null