类 OtherTokenEndpointConfigurer
java.lang.Object
io.github.mangocrisp.spring.taybct.auth.security.granter.OtherTokenEndpointConfigurer
- 所有已实现的接口:
IOtherTokenEndpointConfigurer
,org.springframework.security.config.Customizer<org.springframework.security.oauth2.server.authorization.config.annotation.web.configurers.OAuth2TokenEndpointConfigurer>
自定义的 token 鉴权配置,配置端点如何鉴权和一些自定义的鉴权方式
-
字段概要
字段 -
构造器概要
构造器构造器说明OtherTokenEndpointConfigurer
(List<IOtherTokenEndpointConfigurer> otherTokenEndpointConfigurerList) -
方法概要
修饰符和类型方法说明void
customize
(org.springframework.security.oauth2.server.authorization.config.annotation.web.configurers.OAuth2TokenEndpointConfigurer oAuth2TokenEndpointConfigurer) Function<org.springframework.security.oauth2.server.authorization.OAuth2Authorization,
org.springframework.security.core.userdetails.UserDetails> 为你的鉴权模式配置刷新 token 如果续期从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 io.github.mangocrisp.spring.taybct.auth.security.granter.IOtherTokenEndpointConfigurer
refreshSupport
-
字段详细资料
-
otherTokenEndpointConfigurerList
-
-
构造器详细资料
-
OtherTokenEndpointConfigurer
public OtherTokenEndpointConfigurer() -
OtherTokenEndpointConfigurer
public OtherTokenEndpointConfigurer(List<IOtherTokenEndpointConfigurer> otherTokenEndpointConfigurerList)
-
-
方法详细资料
-
customize
public void customize(org.springframework.security.oauth2.server.authorization.config.annotation.web.configurers.OAuth2TokenEndpointConfigurer oAuth2TokenEndpointConfigurer) - 指定者:
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()为你的鉴权模式配置刷新 token 如果续期- 指定者:
way2FindUserInRefreshModel
在接口中IOtherTokenEndpointConfigurer
- 返回:
- way to find user in refresh token mode.
-