public interface OAuth2AccessToken
Modifier and Type | Field and Description |
---|---|
static String |
ACCESS_TOKEN
The access token issued by the authorization server.
|
static String |
BEARER_TYPE |
static String |
EXPIRES_IN
The lifetime in seconds of the access token.
|
static String |
OAUTH2_TYPE |
static String |
REFRESH_TOKEN
The refresh token which can be used to obtain new access tokens using the same authorization grant as described
in Section 6.
|
static String |
SCOPE
The scope of the access token as described by Section 3.3
|
static String |
TOKEN_TYPE
The type of the token issued as described in Section 7.1.
|
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getAdditionalInformation()
The additionalInformation map is used by the token serializers to export any fields used by extensions of OAuth.
|
Date |
getExpiration() |
int |
getExpiresIn() |
OAuth2RefreshToken |
getRefreshToken() |
Set<String> |
getScope() |
String |
getTokenType() |
String |
getValue() |
boolean |
isExpired() |
static final String BEARER_TYPE
static final String OAUTH2_TYPE
static final String ACCESS_TOKEN
static final String TOKEN_TYPE
static final String EXPIRES_IN
static final String REFRESH_TOKEN
static final String SCOPE
Map<String,Object> getAdditionalInformation()
OAuth2RefreshToken getRefreshToken()
String getTokenType()
boolean isExpired()
Date getExpiration()
int getExpiresIn()
String getValue()
Copyright © 2019. All rights reserved.