Interface RemoveAuthorizedClientOAuth2AuthorizationFailureHandler.OAuth2AuthorizedClientRemover
-
- Enclosing class:
- RemoveAuthorizedClientOAuth2AuthorizationFailureHandler
- 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 RemoveAuthorizedClientOAuth2AuthorizationFailureHandler.OAuth2AuthorizedClientRemoverRemoves anOAuth2AuthorizedClientfrom anOAuth2AuthorizedClientRepositoryorOAuth2AuthorizedClientService.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidremoveAuthorizedClient(java.lang.String clientRegistrationId, org.springframework.security.core.Authentication principal, java.util.Map<java.lang.String,java.lang.Object> attributes)Removes theOAuth2AuthorizedClientassociated to the provided client registration identifier and End-UserAuthentication(Resource Owner).
-
-
-
Method Detail
-
removeAuthorizedClient
void removeAuthorizedClient(java.lang.String clientRegistrationId, org.springframework.security.core.Authentication principal, java.util.Map<java.lang.String,java.lang.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 (optional) attributes present under certain conditions. For example, this might contain ajavax.servlet.http.HttpServletRequestandjavax.servlet.http.HttpServletResponseif the authorization was performed within the context of ajavax.servlet.ServletContext.
-
-