类 SpringSocialTokenServices
- java.lang.Object
- org.springframework.boot.autoconfigure.security.oauth2.resource.SpringSocialTokenServices
- 所有已实现的接口:
org.springframework.security.oauth2.provider.token.ResourceServerTokenServices
public class SpringSocialTokenServices extends Object implements org.springframework.security.oauth2.provider.token.ResourceServerTokenServices
ResourceServerTokenServices
backed by Spring Social.- 从以下版本开始:
- 1.3.0
构造器概要
构造器 构造器 说明 SpringSocialTokenServices(org.springframework.social.connect.support.OAuth2ConnectionFactory<?> connectionFactory, String clientId)
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 org.springframework.security.oauth2.provider.OAuth2Authentication
loadAuthentication(String accessToken)
org.springframework.security.oauth2.common.OAuth2AccessToken
readAccessToken(String accessToken)
构造器详细资料
SpringSocialTokenServices
public SpringSocialTokenServices(org.springframework.social.connect.support.OAuth2ConnectionFactory<?> connectionFactory, String clientId)
方法详细资料
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