@Deprecated public interface OAuthConsumerTokenServices
| Modifier and Type | Method and Description |
|---|---|
OAuthConsumerToken |
getToken(String resourceId)
Deprecated.
Get the token for the specified protected resource.
|
void |
removeToken(String resourceId)
Deprecated.
Removes the token for the specified resource.
|
void |
storeToken(String resourceId,
OAuthConsumerToken token)
Deprecated.
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.AuthenticationExceptionvoid 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 © 2020. All rights reserved.