public interface IJwtAdditionalInformationService
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
additionalInformation(org.springframework.security.oauth2.common.OAuth2AccessToken accessToken,
org.springframework.security.oauth2.provider.OAuth2Authentication authentication)
在jwt中添加额外信息
|
Map<String,Object> additionalInformation(org.springframework.security.oauth2.common.OAuth2AccessToken accessToken, org.springframework.security.oauth2.provider.OAuth2Authentication authentication)
accessToken - tokenauthentication - 这里面可以拿到用户信息Copyright © 2019. All rights reserved.