Package org.springframework.security.oauth2.client.userinfo
Classes and interfaces providing support to the client for initiating requests to the
OAuth 2.0 Authorization Server's UserInfo Endpoint.
-
Interface Summary Interface Description OAuth2UserService<R extends OAuth2UserRequest,U extends OAuth2User> Implementations of this interface are responsible for obtaining the user attributes of the End-User (Resource Owner) from the UserInfo Endpoint using theAccess Token
granted to theClient
and returning anAuthenticatedPrincipal
in the form of anOAuth2User
.ReactiveOAuth2UserService<R extends OAuth2UserRequest,U extends OAuth2User> Implementations of this interface are responsible for obtaining the user attributes of the End-User (Resource Owner) from the UserInfo Endpoint using theAccess Token
granted to theClient
and returning anAuthenticatedPrincipal
in the form of anOAuth2User
. -
Class Summary Class Description CustomUserTypesOAuth2UserService Deprecated. It is recommended to use a delegation-based strategy of anOAuth2UserService
to support customOAuth2User
types, as it provides much greater flexibility compared to this implementation.DefaultOAuth2UserService An implementation of anOAuth2UserService
that supports standard OAuth 2.0 Provider's.DefaultReactiveOAuth2UserService An implementation of anReactiveOAuth2UserService
that supports standard OAuth 2.0 Provider's.DelegatingOAuth2UserService<R extends OAuth2UserRequest,U extends OAuth2User> An implementation of anOAuth2UserService
that simply delegates to it's internalList
ofOAuth2UserService
(s).OAuth2UserRequest Represents a request theOAuth2UserService
uses when initiating a request to the UserInfo Endpoint.OAuth2UserRequestEntityConverter AConverter
that converts the providedOAuth2UserRequest
to aRequestEntity
representation of a request for the UserInfo Endpoint.