org.springframework.security.oauth.consumer
Interface OAuthSecurityContext

All Known Implementing Classes:
OAuthSecurityContextImpl

public interface OAuthSecurityContext

The OAuth 2 security context (for a specific user).

Author:
Ryan Heaton

Method Summary
 Map<String,OAuthConsumerToken> getAccessTokens()
          Get the access tokens for the current context.
 Object getDetails()
          Any details for this security this context.
 

Method Detail

getAccessTokens

Map<String,OAuthConsumerToken> getAccessTokens()
Get the access tokens for the current context.

Returns:
The access tokens for the current context. The key to the map is the id of the protected resource for which the access token is valid.

getDetails

Object getDetails()
Any details for this security this context.

Returns:
Any details for this security context.


Copyright © 2012. All Rights Reserved.