public interface OAuth2UserService
OAuth2ClientAuthenticationToken.getAccessToken()
and returning an AuthenticatedPrincipal
in the form of an OAuth2User
.OAuth2ClientAuthenticationToken
,
AuthenticatedPrincipal
,
OAuth2User
Modifier and Type | Method and Description |
---|---|
OAuth2User |
loadUser(OAuth2ClientAuthenticationToken clientAuthentication) |
OAuth2User loadUser(OAuth2ClientAuthenticationToken clientAuthentication) throws OAuth2AuthenticationException
OAuth2AuthenticationException