Class UserConsentManager

java.lang.Object
org.keycloak.services.managers.UserConsentManager

public class UserConsentManager extends Object
Author:
Marek Posolda
  • Constructor Details

    • UserConsentManager

      public UserConsentManager()
  • Method Details

    • revokeConsentToClient

      public static boolean revokeConsentToClient(KeycloakSession session, ClientModel client, UserModel user)
      Revoke consent of given user to given client
      Parameters:
      session -
      client -
      user -
      Returns:
      true if either consent or offlineToken was revoked