public class OriginalAwareJwtAccessTokenConverter
extends org.springframework.security.oauth2.provider.token.store.JwtAccessTokenConverter
oid
to the token, if it exists. oid
represents
the RefreshToken.getAncestor()
value.Constructor and Description |
---|
OriginalAwareJwtAccessTokenConverter() |
Modifier and Type | Method and Description |
---|---|
org.springframework.security.oauth2.common.OAuth2AccessToken |
enhance(org.springframework.security.oauth2.common.OAuth2AccessToken accessToken,
org.springframework.security.oauth2.provider.OAuth2Authentication authentication)
Based on the implementation from
JwtAccessTokenConverter.enhance(OAuth2AccessToken, OAuth2Authentication) . |
afterPropertiesSet, convertAccessToken, decode, encode, extractAccessToken, extractAuthentication, getAccessTokenConverter, getJwtClaimsSetVerifier, getKey, isPublic, isRefreshToken, setAccessTokenConverter, setJwtClaimsSetVerifier, setKeyPair, setSigner, setSigningKey, setVerifier, setVerifierKey
public OriginalAwareJwtAccessTokenConverter()
public org.springframework.security.oauth2.common.OAuth2AccessToken enhance(org.springframework.security.oauth2.common.OAuth2AccessToken accessToken, org.springframework.security.oauth2.provider.OAuth2Authentication authentication)
JwtAccessTokenConverter.enhance(OAuth2AccessToken, OAuth2Authentication)
. Add support
for the oid parameter.enhance
in interface org.springframework.security.oauth2.provider.token.TokenEnhancer
enhance
in class org.springframework.security.oauth2.provider.token.store.JwtAccessTokenConverter
accessToken
- the current access token with its expiration and refresh tokenauthentication
- the current authentication including client and user detailsCopyright © 2021. All rights reserved.