public interface OAuthConsumerTokenServices
Modifier and Type | Method and Description |
---|---|
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.
|
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.Copyright © 2019. All rights reserved.