类 HerodotusOpaqueTokenCustomizer
java.lang.Object
cn.herodotus.engine.oauth2.authentication.customizer.AbstractTokenCustomizer
cn.herodotus.engine.oauth2.authentication.customizer.HerodotusOpaqueTokenCustomizer
- 所有已实现的接口:
org.springframework.security.oauth2.server.authorization.token.OAuth2TokenCustomizer<org.springframework.security.oauth2.server.authorization.token.OAuth2TokenClaimsContext>
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.
- 作者:
- : gengwei.zheng
- Date:
- : 2022/10/9 20:43
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voidcustomize(org.springframework.security.oauth2.server.authorization.token.OAuth2TokenClaimsContext context) 从类继承的方法 cn.herodotus.engine.oauth2.authentication.customizer.AbstractTokenCustomizer
appendAll, appendAuthorities, appendCommons
-
构造器详细资料
-
HerodotusOpaqueTokenCustomizer
public HerodotusOpaqueTokenCustomizer()
-
-
方法详细资料
-
customize
public 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>
-