类 RefreshOtherTokenEndpointConfigurer
java.lang.Object
io.github.mangocrisp.spring.taybct.auth.security.granter.RefreshOtherTokenEndpointConfigurer
- 所有已实现的接口:
IOtherTokenEndpointConfigurer
,org.springframework.security.config.Customizer<org.springframework.security.oauth2.server.authorization.config.annotation.web.configurers.OAuth2TokenEndpointConfigurer>
public class RefreshOtherTokenEndpointConfigurer
extends Object
implements IOtherTokenEndpointConfigurer
可以支持刷新 token 的其他的端点配置
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明void
customize
(org.springframework.security.oauth2.server.authorization.config.annotation.web.configurers.OAuth2TokenEndpointConfigurer tokenEndpoint) Function<org.springframework.security.oauth2.server.authorization.OAuth2Authorization,
org.springframework.security.core.userdetails.UserDetails> way to find user in refresh mode, provide an oauth2 authorization info that include your principal name ,refresh token expires time,grant type ...从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 io.github.mangocrisp.spring.taybct.auth.security.granter.IOtherTokenEndpointConfigurer
refreshSupport
-
字段详细资料
-
granterList
List<RefreshTokenEndpointConfigurer> granterList
-
-
构造器详细资料
-
RefreshOtherTokenEndpointConfigurer
public RefreshOtherTokenEndpointConfigurer()
-
-
方法详细资料
-
customize
public void customize(org.springframework.security.oauth2.server.authorization.config.annotation.web.configurers.OAuth2TokenEndpointConfigurer tokenEndpoint) - 指定者:
customize
在接口中org.springframework.security.config.Customizer<org.springframework.security.oauth2.server.authorization.config.annotation.web.configurers.OAuth2TokenEndpointConfigurer>
-
way2FindUserInRefreshModel
public Function<org.springframework.security.oauth2.server.authorization.OAuth2Authorization,org.springframework.security.core.userdetails.UserDetails> way2FindUserInRefreshModel()从接口复制的说明:IOtherTokenEndpointConfigurer
way to find user in refresh mode, provide an oauth2 authorization info that include your principal name ,refresh token expires time,grant type ... whatever,you can find the user by those params.- 指定者:
way2FindUserInRefreshModel
在接口中IOtherTokenEndpointConfigurer
- 返回:
- this is a customized function
-