类 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 的其他的端点配置
  • 字段详细资料

  • 构造器详细资料

    • 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