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 Tokengranted to theClientand returning anAuthenticatedPrincipalin 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 Tokengranted to theClientand returning anAuthenticatedPrincipalin the form of anOAuth2User. -
Class Summary Class Description CustomUserTypesOAuth2UserService Deprecated. It is recommended to use a delegation-based strategy of anOAuth2UserServiceto support customOAuth2Usertypes, as it provides much greater flexibility compared to this implementation.DefaultOAuth2UserService An implementation of anOAuth2UserServicethat supports standard OAuth 2.0 Provider's.DefaultReactiveOAuth2UserService An implementation of anReactiveOAuth2UserServicethat supports standard OAuth 2.0 Provider's.DelegatingOAuth2UserService<R extends OAuth2UserRequest,U extends OAuth2User> An implementation of anOAuth2UserServicethat simply delegates to it's internalListofOAuth2UserService(s).OAuth2UserRequest Represents a request theOAuth2UserServiceuses when initiating a request to the UserInfo Endpoint.OAuth2UserRequestEntityConverter AConverterthat converts the providedOAuth2UserRequestto aRequestEntityrepresentation of a request for the UserInfo Endpoint.