类 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
- 
构造器概要构造器
- 
方法概要修饰符和类型方法说明org.springframework.security.oauth2.core.OAuth2RefreshTokengenerate(org.springframework.security.oauth2.server.authorization.token.OAuth2TokenContext context) 
- 
构造器详细资料- 
OAuth2RefreshTokenGeneratorpublic 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>
 
 
-