Interface RemoveAuthorizedClientReactiveOAuth2AuthorizationFailureHandler.OAuth2AuthorizedClientRemover
- Enclosing class:
- RemoveAuthorizedClientReactiveOAuth2AuthorizationFailureHandler
- 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 static interface RemoveAuthorizedClientReactiveOAuth2AuthorizationFailureHandler.OAuth2AuthorizedClientRemover
-
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<Void>removeAuthorizedClient(String clientRegistrationId, Authentication principal, Map<String, Object> attributes) Removes theOAuth2AuthorizedClientassociated to the provided client registration identifier and End-UserAuthentication(Resource Owner).
-
Method Details
-
removeAuthorizedClient
reactor.core.publisher.Mono<Void> removeAuthorizedClient(String clientRegistrationId, Authentication principal, Map<String, Object> attributes) Removes theOAuth2AuthorizedClientassociated to the provided client registration identifier and End-UserAuthentication(Resource Owner).- Parameters:
clientRegistrationId- the identifier for the client's registrationprincipal- the End-UserAuthentication(Resource Owner)attributes- 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.
-