类 OAuth2RefreshTokenGenerator

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

public class OAuth2RefreshTokenGenerator extends Object implements org.springframework.security.oauth2.server.authorization.token.OAuth2TokenGenerator<org.springframework.security.oauth2.core.OAuth2RefreshToken>
自定义refreshToken生成器 不管任何模式都会返回UUID风格的refreshToken
从以下版本开始:
2025/8/22
作者:
lishangbu
  • 构造器详细资料

    • OAuth2RefreshTokenGenerator

      public OAuth2RefreshTokenGenerator()
  • 方法详细资料

    • generate

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