|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AuthorizationServerTokenServices
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||