|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
public interface AuthorizationServerTokenServices
| 方法摘要 | |
|---|---|
OAuth2AccessToken |
createAccessToken(OAuth2Authentication authentication)
Create an access token associated with the specified credentials. |
OAuth2AccessToken |
getAccessToken(OAuth2Authentication authentication)
Retrieve an access token stored against the provided authentication key, if it exists. |
OAuth2AccessToken |
refreshAccessToken(String refreshToken,
TokenRequest tokenRequest)
Refresh an access token. |
| 方法详细信息 |
|---|
OAuth2AccessToken createAccessToken(OAuth2Authentication authentication)
throws org.springframework.security.core.AuthenticationException
authentication - The credentials associated with the access token.
org.springframework.security.core.AuthenticationException - If the credentials are inadequate.
OAuth2AccessToken refreshAccessToken(String refreshToken,
TokenRequest tokenRequest)
throws org.springframework.security.core.AuthenticationException
refreshToken - The details about the refresh token.tokenRequest - The incoming token request.
org.springframework.security.core.AuthenticationException - If the refresh token is invalid or expired.OAuth2AccessToken getAccessToken(OAuth2Authentication authentication)
authentication - the authentication key for the access token
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||