public interface TokenEnhancer
|Modifier and Type||Method and Description|
Provides an opportunity for customization of an access token (e.g. through its additional information map) during the process of creating a new token for use by a client.
OAuth2AccessToken enhance(OAuth2AccessToken accessToken, OAuth2Authentication authentication)
accessToken- the current access token with its expiration and refresh token
authentication- the current authentication including client and user details
Copyright © 2019. All rights reserved.