|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface OAuthConsumerTokenServices
Token services for an OAuth consumer.
| Method Summary | |
|---|---|
OAuthConsumerToken |
getToken(String resourceId)
Get the token for the specified protected resource. |
void |
removeToken(String resourceId)
Removes the token for the specified resource. |
void |
storeToken(String resourceId,
OAuthConsumerToken token)
Store a token for a specified resource. |
| Method Detail |
|---|
OAuthConsumerToken getToken(String resourceId)
throws org.springframework.security.core.AuthenticationException
resourceId - The id of the protected resource.
org.springframework.security.core.AuthenticationException
void storeToken(String resourceId,
OAuthConsumerToken token)
is not an access token,
the token services may not have to store it and instead rely on the implementation of the
remember-me services.
resourceId - The id of the protected resource.token - The token to store.void removeToken(String resourceId)
resourceId - The id of the resource.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||