org.springframework.security.oauth2.provider.token
Interface ResourceServerTokenServices

All Known Implementing Classes:
DefaultTokenServices, JwtTokenServices

public interface ResourceServerTokenServices


Method Summary
 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.
 

Method Detail

loadAuthentication

OAuth2Authentication loadAuthentication(String accessToken)
                                        throws org.springframework.security.core.AuthenticationException
Load the credentials for the specified access token.

Parameters:
accessToken - The access token value.
Returns:
The authentication for the access token.
Throws:
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.

Parameters:
accessToken - the token value
Returns:
the full access token with client id etc.


Copyright © 2013. All rights reserved.