接口 IOtherTokenEndpointConfigurer

所有超级接口:
org.springframework.security.config.Customizer<org.springframework.security.oauth2.server.authorization.config.annotation.web.configurers.OAuth2TokenEndpointConfigurer>
所有已知实现类:
OtherTokenEndpointConfigurer, PKITokenEndpointConfigurer, RefreshOtherTokenEndpointConfigurer, RefreshTokenEndpointConfigurer

public interface IOtherTokenEndpointConfigurer extends org.springframework.security.config.Customizer<org.springframework.security.oauth2.server.authorization.config.annotation.web.configurers.OAuth2TokenEndpointConfigurer>
其他的 token 端点配置器
  • 方法概要

    修饰符和类型
    方法
    说明
    default boolean
    refreshSupport(org.springframework.security.oauth2.server.authorization.OAuth2Authorization oAuth2Authorization)
    是否支持刷新模式
    default 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 ...

    从接口继承的方法 org.springframework.security.config.Customizer

    customize
  • 方法详细资料

    • way2FindUserInRefreshModel

      default Function<org.springframework.security.oauth2.server.authorization.OAuth2Authorization,org.springframework.security.core.userdetails.UserDetails> way2FindUserInRefreshModel()
      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.
      返回:
      this is a customized function
    • refreshSupport

      default boolean refreshSupport(org.springframework.security.oauth2.server.authorization.OAuth2Authorization oAuth2Authorization)
      是否支持刷新模式
      参数:
      oAuth2Authorization - token 授权信息,鉴权之后的结果之类的,存储了用户鉴权相关的信息
      返回:
      boolean