Class OAuth2TokenType
java.lang.Object
org.springframework.security.oauth2.server.authorization.OAuth2TokenType
- All Implemented Interfaces:
Serializable
Standard token types defined in the OAuth Token Type Hints Registry.
- Since:
- 0.0.1
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final OAuth2TokenType
access_token
token type.static final OAuth2TokenType
refresh_token
token type. -
Constructor Summary
ConstructorDescriptionOAuth2TokenType
(String value) Constructs anOAuth2TokenType
using the provided value. -
Method Summary
-
Field Details
-
ACCESS_TOKEN
access_token
token type. -
REFRESH_TOKEN
refresh_token
token type.
-
-
Constructor Details
-
OAuth2TokenType
Constructs anOAuth2TokenType
using the provided value.- Parameters:
value
- the value of the token type
-
-
Method Details