public class FacebookAccessTokenConverter
extends org.springframework.security.oauth2.provider.token.DefaultAccessTokenConverter
Constructor and Description |
---|
FacebookAccessTokenConverter() |
Modifier and Type | Method and Description |
---|---|
org.springframework.security.oauth2.provider.OAuth2Authentication |
extractAuthentication(Map<String,?> map) |
void |
setDefaultAuthorities(String[] defaultAuthorities) |
void |
setUserTokenConverter(org.springframework.security.oauth2.provider.token.UserAuthenticationConverter userTokenConverter)
Converter for the part of the data in the token representing a user.
|
public final void setUserTokenConverter(org.springframework.security.oauth2.provider.token.UserAuthenticationConverter userTokenConverter)
setUserTokenConverter
in class org.springframework.security.oauth2.provider.token.DefaultAccessTokenConverter
userTokenConverter
- the userTokenConverter to setpublic void setDefaultAuthorities(String[] defaultAuthorities)
public org.springframework.security.oauth2.provider.OAuth2Authentication extractAuthentication(Map<String,?> map)
extractAuthentication
in interface org.springframework.security.oauth2.provider.token.AccessTokenConverter
extractAuthentication
in class org.springframework.security.oauth2.provider.token.DefaultAccessTokenConverter
Copyright © 2013–2022. All rights reserved.