类 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
  • 构造器详细资料

    • 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>