public interface ResourceServerTokenServices
Modifier and Type | Method and Description |
---|---|
OAuth2Authentication |
loadAuthentication(String accessToken)
Load the credentials for the specified access token.
|
OAuth2AccessToken |
readAccessToken(String accessToken)
Retrieve the full access token details from just the value.
|
OAuth2Authentication loadAuthentication(String accessToken) throws org.springframework.security.core.AuthenticationException, InvalidTokenException
accessToken
- The access token value.org.springframework.security.core.AuthenticationException
- If the access token is expiredInvalidTokenException
- if the token isn't validOAuth2AccessToken readAccessToken(String accessToken)
accessToken
- the token valueCopyright © 2019. All rights reserved.