public interface OAuth2UserService
OAuth2AuthenticationToken.getAccessToken()
and returning an AuthenticatedPrincipal
in the form of an OAuth2User
(for a standard OAuth 2.0 Provider) or UserInfo
(for an OpenID Connect 1.0 Provider).OAuth2AuthenticationToken
,
AuthenticatedPrincipal
,
OAuth2User
,
UserInfo
Modifier and Type | Method and Description |
---|---|
OAuth2User |
loadUser(OAuth2AuthenticationToken token) |
OAuth2User loadUser(OAuth2AuthenticationToken token) throws OAuth2AuthenticationException
OAuth2AuthenticationException