public class HerodotusOpaqueTokenCustomizer extends AbstractTokenCustomizer implements org.springframework.security.oauth2.server.authorization.token.OAuth2TokenCustomizer<org.springframework.security.oauth2.server.authorization.token.OAuth2TokenClaimsContext>
Description: Opaque Token Customizer
An OAuth2TokenCustomizer provides the ability to customize the attributes of an OAuth2Token, which are accessible in the provided OAuth2TokenContext.
It is used by an OAuth2TokenGenerator to let it customize the attributes of the OAuth2Token before it is generated.
| 构造器和说明 |
|---|
HerodotusOpaqueTokenCustomizer() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
customize(org.springframework.security.oauth2.server.authorization.token.OAuth2TokenClaimsContext context) |
appendAll, appendAuthorities, appendCommonspublic void customize(org.springframework.security.oauth2.server.authorization.token.OAuth2TokenClaimsContext context)
customize 在接口中 org.springframework.security.oauth2.server.authorization.token.OAuth2TokenCustomizer<org.springframework.security.oauth2.server.authorization.token.OAuth2TokenClaimsContext>Copyright © 2023 Dromara. All rights reserved.