@Deprecated public interface OAuth2AccessToken
Modifier and Type | Field and Description |
---|---|
static String |
ACCESS_TOKEN
Deprecated.
The access token issued by the authorization server.
|
static String |
BEARER_TYPE
Deprecated.
|
static String |
EXPIRES_IN
Deprecated.
The lifetime in seconds of the access token.
|
static String |
OAUTH2_TYPE
Deprecated.
|
static String |
REFRESH_TOKEN
Deprecated.
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
Deprecated.
The scope of the access token as described by Section 3.3
|
static String |
TOKEN_TYPE
Deprecated.
The type of the token issued as described in Section 7.1.
|
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getAdditionalInformation()
Deprecated.
The additionalInformation map is used by the token serializers to export any fields used by extensions of OAuth.
|
Date |
getExpiration()
Deprecated.
|
int |
getExpiresIn()
Deprecated.
|
OAuth2RefreshToken |
getRefreshToken()
Deprecated.
|
Set<String> |
getScope()
Deprecated.
|
String |
getTokenType()
Deprecated.
|
String |
getValue()
Deprecated.
|
boolean |
isExpired()
Deprecated.
|
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.