org.springframework.security.oauth2.provider.token
接口 ResourceServerTokenServices
- 所有已知实现类:
- DefaultTokenServices
public interface ResourceServerTokenServices
loadAuthentication
OAuth2Authentication loadAuthentication(String accessToken)
throws org.springframework.security.core.AuthenticationException
- Load the credentials for the specified access token.
- 参数:
accessToken - The access token value.
- 返回:
- The authentication for the access token.
- 抛出:
org.springframework.security.core.AuthenticationException - If the access token is expired
readAccessToken
OAuth2AccessToken readAccessToken(String accessToken)
- Retrieve the full access token details from just the value.
- 参数:
accessToken - the token value
- 返回:
- the full access token with client id etc.
Copyright © 2013. All rights reserved.