public class FacebookTokenServices
extends org.springframework.security.oauth2.provider.token.RemoteTokenServices
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.commons.logging.Log |
logger |
| Constructor and Description |
|---|
FacebookTokenServices() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.security.oauth2.provider.OAuth2Authentication |
loadAuthentication(String accessToken) |
org.springframework.security.oauth2.common.OAuth2AccessToken |
readAccessToken(String accessToken) |
void |
setAccessTokenConverter(org.springframework.security.oauth2.provider.token.AccessTokenConverter accessTokenConverter) |
void |
setCheckTokenEndpointUrl(String checkTokenEndpointUrl) |
void |
setRestTemplate(org.springframework.web.client.RestOperations restTemplate) |
void |
setTokenName(String tokenName) |
public void setRestTemplate(org.springframework.web.client.RestOperations restTemplate)
setRestTemplate in class org.springframework.security.oauth2.provider.token.RemoteTokenServicespublic void setCheckTokenEndpointUrl(String checkTokenEndpointUrl)
setCheckTokenEndpointUrl in class org.springframework.security.oauth2.provider.token.RemoteTokenServicespublic void setAccessTokenConverter(org.springframework.security.oauth2.provider.token.AccessTokenConverter accessTokenConverter)
setAccessTokenConverter in class org.springframework.security.oauth2.provider.token.RemoteTokenServicespublic void setTokenName(String tokenName)
setTokenName in class org.springframework.security.oauth2.provider.token.RemoteTokenServicespublic org.springframework.security.oauth2.provider.OAuth2Authentication loadAuthentication(String accessToken) throws org.springframework.security.core.AuthenticationException, org.springframework.security.oauth2.common.exceptions.InvalidTokenException
loadAuthentication in interface org.springframework.security.oauth2.provider.token.ResourceServerTokenServicesloadAuthentication in class org.springframework.security.oauth2.provider.token.RemoteTokenServicesorg.springframework.security.core.AuthenticationExceptionorg.springframework.security.oauth2.common.exceptions.InvalidTokenExceptionpublic org.springframework.security.oauth2.common.OAuth2AccessToken readAccessToken(String accessToken)
readAccessToken in interface org.springframework.security.oauth2.provider.token.ResourceServerTokenServicesreadAccessToken in class org.springframework.security.oauth2.provider.token.RemoteTokenServicesCopyright © 2013–2022. All rights reserved.