|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
public interface ClientTokenServices
| 方法摘要 | |
|---|---|
OAuth2AccessToken |
getAccessToken(OAuth2ProtectedResourceDetails resource,
org.springframework.security.core.Authentication authentication)
Retrieve the access token for a given resource and user authentication (my be null). |
void |
removeAccessToken(OAuth2ProtectedResourceDetails resource,
org.springframework.security.core.Authentication authentication)
Remove the token (if any) that is stored with the provided resource and authentication. |
void |
saveAccessToken(OAuth2ProtectedResourceDetails resource,
org.springframework.security.core.Authentication authentication,
OAuth2AccessToken accessToken)
Save or update the access token for this resource and authentication (may be null). |
| 方法详细信息 |
|---|
OAuth2AccessToken getAccessToken(OAuth2ProtectedResourceDetails resource,
org.springframework.security.core.Authentication authentication)
resource - the resource to be accessedauthentication - the current user authentication (or null if there is none)
void saveAccessToken(OAuth2ProtectedResourceDetails resource,
org.springframework.security.core.Authentication authentication,
OAuth2AccessToken accessToken)
resource - the resource to be accessedauthentication - the current user authentication (or null if there is none)accessToken - an access token to be stored
void removeAccessToken(OAuth2ProtectedResourceDetails resource,
org.springframework.security.core.Authentication authentication)
resource - the resource to be accessedauthentication - the current user authentication (or null if there is none)
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||