Example usage for Java org.springframework.security.oauth2.common DefaultOAuth2AccessToken fields, constructors, methods, implement or subclass
The text is from its open source code.
DefaultOAuth2AccessToken(String value) Create an access token from the value provided. | |
DefaultOAuth2AccessToken(OAuth2AccessToken accessToken) Copy constructor for access token. |
Map | getAdditionalInformation() Additional information that token granters would like to add to the token, e.g. |
Date | getExpiration() The instant the token expires. |
OAuth2RefreshToken | getRefreshToken() The refresh token associated with the access token, if any. |
Set | getScope() The scope of the token. |
String | getTokenType() The token type, as introduced in draft 11 of the OAuth 2 spec. |
String | getValue() The token value. |
void | setAdditionalInformation(Map Additional information that token granters would like to add to the token, e.g. |
void | setExpiration(Date expiration) The instant the token expires. |
void | setRefreshToken(OAuth2RefreshToken refreshToken) The refresh token associated with the access token, if any. |
void | setScope(Set The scope of the token. |
void | setTokenType(String tokenType) The token type, as introduced in draft 11 of the OAuth 2 spec. |
void | setValue(String value) |
OAuth2AccessToken | valueOf(Map |