public class OidcReactiveOAuth2UserService extends java.lang.Object implements ReactiveOAuth2UserService<OidcUserRequest,org.springframework.security.oauth2.core.oidc.user.OidcUser>
ReactiveOAuth2UserService that supports OpenID Connect 1.0 Provider's.ReactiveOAuth2UserService,
OidcUserRequest,
OidcUser,
DefaultOidcUser,
OidcUserInfo| Constructor and Description |
|---|
OidcReactiveOAuth2UserService() |
| Modifier and Type | Method and Description |
|---|---|
reactor.core.publisher.Mono<org.springframework.security.oauth2.core.oidc.user.OidcUser> |
loadUser(OidcUserRequest userRequest)
Returns an
OAuth2User after obtaining the user attributes of the End-User from the UserInfo Endpoint. |
void |
setOauth2UserService(ReactiveOAuth2UserService<OAuth2UserRequest,org.springframework.security.oauth2.core.user.OAuth2User> oauth2UserService) |
public reactor.core.publisher.Mono<org.springframework.security.oauth2.core.oidc.user.OidcUser> loadUser(OidcUserRequest userRequest) throws org.springframework.security.oauth2.core.OAuth2AuthenticationException
ReactiveOAuth2UserServiceOAuth2User after obtaining the user attributes of the End-User from the UserInfo Endpoint.loadUser in interface ReactiveOAuth2UserService<OidcUserRequest,org.springframework.security.oauth2.core.oidc.user.OidcUser>userRequest - the user requestOAuth2Userorg.springframework.security.oauth2.core.OAuth2AuthenticationException - if an error occurs while attempting to obtain the user attributes from the UserInfo Endpointpublic void setOauth2UserService(ReactiveOAuth2UserService<OAuth2UserRequest,org.springframework.security.oauth2.core.user.OAuth2User> oauth2UserService)