接口 EnhancerTokenGranter


  • public interface EnhancerTokenGranter
    扩展的TokenGranter
    作者:
    zhanglinfeng
    • 方法概要

      所有方法 实例方法 抽象方法 
      修饰符和类型 方法 说明
      org.springframework.security.core.Authentication buildAuthentication​(org.springframework.security.oauth2.provider.ClientDetails client, org.springframework.security.oauth2.provider.TokenRequest tokenRequest)
      装载认证token信息
      String grantType()
      可以处理的gentType
      Class<?> parentClazz()
      父类的TokenGranter 存在该值时,除了调用buildAuthentication方法,还会调用父类的getOAuth2Authentication方法
    • 方法详细资料

      • buildAuthentication

        org.springframework.security.core.Authentication buildAuthentication​(org.springframework.security.oauth2.provider.ClientDetails client,
                                                                             org.springframework.security.oauth2.provider.TokenRequest tokenRequest)
        装载认证token信息
        参数:
        client -
        tokenRequest -
        返回:
      • grantType

        String grantType()
        可以处理的gentType
        返回:
      • parentClazz

        Class<?> parentClazz()
        父类的TokenGranter 存在该值时,除了调用buildAuthentication方法,还会调用父类的getOAuth2Authentication方法
        返回: