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.
 
 @FunctionalInterface public interface ReactiveOAuth2AuthorizationSuccessHandlerHandles when an OAuth 2.0 Client has been successfully authorized (or re-authorized) via the authorization server.- Since:
- 5.3
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description reactor.core.publisher.Mono<java.lang.Void>onAuthorizationSuccess(OAuth2AuthorizedClient authorizedClient, Authentication principal, java.util.Map<java.lang.String,java.lang.Object> attributes)Called when an OAuth 2.0 Client has been successfully authorized (or re-authorized) via the authorization server.
 
- 
- 
- 
Method Detail- 
onAuthorizationSuccessreactor.core.publisher.Mono<java.lang.Void> onAuthorizationSuccess(OAuth2AuthorizedClient authorizedClient, Authentication principal, java.util.Map<java.lang.String,java.lang.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 authorized
- principal- the- 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- ServerWebExchange.
- Returns:
- an empty Monothat completes after this handler has finished handling the event.
 
 
- 
 
-