public interface IntrospectionResultAssembler
Modifier and Type | Field and Description |
---|---|
static String |
ACTIVE |
static String |
CLIENT_ID |
static DateFormatter |
dateFormat |
static String |
EXP |
static String |
EXPIRES_AT |
static String |
SCOPE |
static String |
SCOPE_SEPARATOR |
static String |
SUB |
static String |
TOKEN_TYPE |
static String |
USER_ID |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
assembleFrom(OAuth2AccessTokenEntity accessToken,
UserInfo userInfo,
Set<String> authScopes)
Assemble a token introspection result from the given access token and user info.
|
Map<String,Object> |
assembleFrom(OAuth2RefreshTokenEntity refreshToken,
UserInfo userInfo,
Set<String> authScopes)
Assemble a token introspection result from the given refresh token and user info.
|
static final String TOKEN_TYPE
static final String CLIENT_ID
static final String USER_ID
static final String SUB
static final String EXP
static final String EXPIRES_AT
static final String SCOPE_SEPARATOR
static final String SCOPE
static final String ACTIVE
static final DateFormatter dateFormat
Map<String,Object> assembleFrom(OAuth2AccessTokenEntity accessToken, UserInfo userInfo, Set<String> authScopes)
accessToken
- the access tokenuserInfo
- the user infoauthScopes
- the scopes the client is authorized forMap<String,Object> assembleFrom(OAuth2RefreshTokenEntity refreshToken, UserInfo userInfo, Set<String> authScopes)
refreshToken
- the refresh tokenuserInfo
- the user infoauthScopes
- the scopes the client is authorized forCopyright © 2018. All rights reserved.