public class DelegatingOAuth2UserService extends java.lang.Object implements OAuth2UserService
OAuth2UserService that simply delegates
to it's internal List of OAuth2UserService's.
Each OAuth2UserService is given a chance to
load an OAuth2User
with the first non-null OAuth2User being returned.
OAuth2UserService,
OAuth2User| Constructor and Description |
|---|
DelegatingOAuth2UserService(java.util.List<OAuth2UserService> oauth2UserServices) |
| Modifier and Type | Method and Description |
|---|---|
OAuth2User |
loadUser(OAuth2ClientAuthenticationToken clientAuthentication) |
public DelegatingOAuth2UserService(java.util.List<OAuth2UserService> oauth2UserServices)
public OAuth2User loadUser(OAuth2ClientAuthenticationToken clientAuthentication) throws OAuth2AuthenticationException
loadUser in interface OAuth2UserServiceOAuth2AuthenticationException