类 UserInfoTokenServices

  • 所有已实现的接口:
    org.springframework.security.oauth2.provider.token.ResourceServerTokenServices

    public class UserInfoTokenServices
    extends Object
    implements org.springframework.security.oauth2.provider.token.ResourceServerTokenServices
    ResourceServerTokenServices that uses a user info REST service.
    从以下版本开始:
    1.3.0
    • 字段详细资料

      • logger

        protected final org.apache.commons.logging.Log logger
    • 方法详细资料

      • setRestTemplate

        public void setRestTemplate​(org.springframework.security.oauth2.client.OAuth2RestOperations restTemplate)
      • loadAuthentication

        public org.springframework.security.oauth2.provider.OAuth2Authentication loadAuthentication​(String accessToken)
                                                                                             throws org.springframework.security.core.AuthenticationException,
                                                                                                    org.springframework.security.oauth2.common.exceptions.InvalidTokenException
        指定者:
        loadAuthentication 在接口中 org.springframework.security.oauth2.provider.token.ResourceServerTokenServices
        抛出:
        org.springframework.security.core.AuthenticationException
        org.springframework.security.oauth2.common.exceptions.InvalidTokenException
      • readAccessToken

        public org.springframework.security.oauth2.common.OAuth2AccessToken readAccessToken​(String accessToken)
        指定者:
        readAccessToken 在接口中 org.springframework.security.oauth2.provider.token.ResourceServerTokenServices