类 ReferenceOAuth2AccessTokenGenerator

java.lang.Object
io.github.lishangbu.orange.oauth2.authorizationserver.token.ReferenceOAuth2AccessTokenGenerator
所有已实现的接口:
org.springframework.security.oauth2.server.authorization.token.OAuth2TokenGenerator<org.springframework.security.oauth2.core.OAuth2AccessToken>

public class ReferenceOAuth2AccessTokenGenerator extends Object implements org.springframework.security.oauth2.server.authorization.token.OAuth2TokenGenerator<org.springframework.security.oauth2.core.OAuth2AccessToken>
Reference模式下,自定义access token生成器
从以下版本开始:
2025/8/22
作者:
lishangbu
  • 构造器详细资料

    • ReferenceOAuth2AccessTokenGenerator

      public ReferenceOAuth2AccessTokenGenerator()
  • 方法详细资料

    • generate

      public org.springframework.security.oauth2.core.OAuth2AccessToken generate(org.springframework.security.oauth2.server.authorization.token.OAuth2TokenContext context)
      指定者:
      generate 在接口中 org.springframework.security.oauth2.server.authorization.token.OAuth2TokenGenerator<org.springframework.security.oauth2.core.OAuth2AccessToken>