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