Class OAuth2UserCode
java.lang.Object
org.springframework.security.oauth2.core.AbstractOAuth2Token
org.springframework.security.oauth2.core.OAuth2UserCode
- All Implemented Interfaces:
Serializable, OAuth2Token
An implementation of an
AbstractOAuth2Token representing a user code as part of
the OAuth 2.0 Device Authorization Grant.- Since:
- 6.1
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionOAuth2UserCode(String tokenValue, Instant issuedAt, Instant expiresAt) Constructs anOAuth2UserCodeusing the provided parameters. -
Method Summary
Methods inherited from class AbstractOAuth2Token
equals, getExpiresAt, getIssuedAt, getTokenValue, hashCode
-
Constructor Details
-
OAuth2UserCode
-