@FunctionalInterface public interface ReactiveOAuth2AuthorizationSuccessHandler
|Modifier and Type||Method and Description|
Called when an OAuth 2.0 Client has been successfully authorized (or re-authorized) via the authorization server.
reactor.core.publisher.Mono<java.lang.Void> onAuthorizationSuccess(OAuth2AuthorizedClient authorizedClient, Authentication principal, java.util.Map<java.lang.String,java.lang.Object> attributes)
authorizedClient- the client that was successfully authorized
Principalassociated with the authorized client
attributes- an immutable
Mapof extra optional attributes present under certain conditions. For example, this might contain a
ServerWebExchangeif the authorization was performed within the context of a
Monothat completes after this handler has finished handling the event.