@Deprecated public interface AccessTokenConverter
Modifier and Type | Field and Description |
---|---|
static String |
ATI
Deprecated.
|
static String |
AUD
Deprecated.
|
static String |
AUTHORITIES
Deprecated.
|
static String |
CLIENT_ID
Deprecated.
|
static String |
EXP
Deprecated.
|
static String |
GRANT_TYPE
Deprecated.
|
static String |
JTI
Deprecated.
|
static String |
SCOPE
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Map<String,?> |
convertAccessToken(OAuth2AccessToken token,
OAuth2Authentication authentication)
Deprecated.
|
OAuth2AccessToken |
extractAccessToken(String value,
Map<String,?> map)
Deprecated.
Recover an access token from the converted value.
|
OAuth2Authentication |
extractAuthentication(Map<String,?> map)
Deprecated.
Recover an
OAuth2Authentication from the converted access token. |
static final String AUD
static final String CLIENT_ID
static final String EXP
static final String JTI
static final String GRANT_TYPE
static final String ATI
static final String SCOPE
static final String AUTHORITIES
Map<String,?> convertAccessToken(OAuth2AccessToken token, OAuth2Authentication authentication)
token
- an access tokenauthentication
- the current OAuth authenticationOAuth2AccessToken extractAccessToken(String value, Map<String,?> map)
convertAccessToken(OAuth2AccessToken, OAuth2Authentication)
.value
- the token valuemap
- information decoded from an access tokenOAuth2Authentication extractAuthentication(Map<String,?> map)
OAuth2Authentication
from the converted access token. Half the inverse of
convertAccessToken(OAuth2AccessToken, OAuth2Authentication)
.map
- information decoded from an access tokenCopyright © 2019. All rights reserved.