@Deprecated public interface TokenEnhancer
AuthorizationServerTokenServices
implementation.
Modifier and Type | Method and Description |
---|---|
OAuth2AccessToken |
enhance(OAuth2AccessToken accessToken,
OAuth2Authentication authentication)
Deprecated.
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 tokenauthentication
- the current authentication including client and user detailsCopyright © 2019. All rights reserved.