@FunctionalInterface
public static interface RemoveAuthorizedClientReactiveOAuth2AuthorizationFailureHandler.OAuth2AuthorizedClientRemover
| Modifier and Type | Method and Description |
|---|---|
reactor.core.publisher.Mono<java.lang.Void> |
removeAuthorizedClient(java.lang.String clientRegistrationId,
org.springframework.security.core.Authentication principal,
java.util.Map<java.lang.String,java.lang.Object> attributes)
Removes the
OAuth2AuthorizedClient associated to the
provided client registration identifier and End-User Authentication (Resource Owner). |
reactor.core.publisher.Mono<java.lang.Void> removeAuthorizedClient(java.lang.String clientRegistrationId,
org.springframework.security.core.Authentication principal,
java.util.Map<java.lang.String,java.lang.Object> attributes)
OAuth2AuthorizedClient associated to the
provided client registration identifier and End-User Authentication (Resource Owner).clientRegistrationId - the identifier for the client's registrationprincipal - the End-User Authentication (Resource Owner)attributes - an immutable Map of extra optional attributes present under certain conditions.
For example, this might contain a ServerWebExchange
if the authorization was performed within the context of a ServerWebExchange.Mono that completes after this handler has finished handling the event.