Interface ReactiveOAuth2AuthorizationSuccessHandler
- Functional Interface:
 - This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
 
Handles when an OAuth 2.0 Client has been successfully authorized (or re-authorized)
 via the authorization server.
- Since:
 - 5.3
 
- 
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<Void>onAuthorizationSuccess(OAuth2AuthorizedClient authorizedClient, Authentication principal, Map<String, Object> attributes) Called when an OAuth 2.0 Client has been successfully authorized (or re-authorized) via the authorization server. 
- 
Method Details
- 
onAuthorizationSuccess
reactor.core.publisher.Mono<Void> onAuthorizationSuccess(OAuth2AuthorizedClient authorizedClient, Authentication principal, Map<String, Object> attributes) Called when an OAuth 2.0 Client has been successfully authorized (or re-authorized) via the authorization server.- Parameters:
 authorizedClient- the client that was successfully authorizedprincipal- thePrincipalassociated with the authorized clientattributes- an immutableMapof extra optional attributes present under certain conditions. For example, this might contain aServerWebExchangeif the authorization was performed within the context of aServerWebExchange.- Returns:
 - an empty 
Monothat completes after this handler has finished handling the event. 
 
 -