Interface OAuth2Token
- All Known Implementing Classes:
AbstractOAuth2Token
,Jwt
,OAuth2AccessToken
,OAuth2DeviceCode
,OAuth2RefreshToken
,OAuth2UserCode
,OidcIdToken
public interface OAuth2Token
Core interface representing an OAuth 2.0 Token.
- Since:
- 5.5
- See Also:
-
Method Details
-
getTokenValue
String getTokenValue()Returns the token value.- Returns:
- the token value
-
getIssuedAt
Returns the time at which the token was issued.- Returns:
- the time the token was issued or
null
-
getExpiresAt
Returns the expiration time on or after which the token MUST NOT be accepted.- Returns:
- the token expiration time or
null
-