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.OAuth2AuthorizedClientRemover
  • Method Details

    • removeAuthorizedClient

      void removeAuthorizedClient(String clientRegistrationId, Authentication principal, Map<String,Object> attributes)
      Removes the OAuth2AuthorizedClient associated to the provided client registration identifier and End-User Authentication (Resource Owner).
      Parameters:
      clientRegistrationId - the identifier for the client's registration
      principal - the End-User Authentication (Resource Owner)
      attributes - an immutable Map of (optional) attributes present under certain conditions. For example, this might contain a jakarta.servlet.http.HttpServletRequest and jakarta.servlet.http.HttpServletResponse if the authorization was performed within the context of a jakarta.servlet.ServletContext.