Class DefaultReactiveOAuth2UserService

java.lang.Object
org.springframework.security.oauth2.client.userinfo.DefaultReactiveOAuth2UserService
All Implemented Interfaces:
ReactiveOAuth2UserService<OAuth2UserRequest,OAuth2User>

public class DefaultReactiveOAuth2UserService extends Object implements ReactiveOAuth2UserService<OAuth2UserRequest,OAuth2User>
An implementation of an ReactiveOAuth2UserService that supports standard OAuth 2.0 Provider's.

For standard OAuth 2.0 Provider's, the attribute name used to access the user's name from the UserInfo response is required and therefore must be available via UserInfoEndpoint.getUserNameAttributeName().

NOTE: Attribute names are not standardized between providers and therefore will vary. Please consult the provider's API documentation for the set of supported user attribute names.

Since:
5.1
See Also: