Class UserConsentManager

    • Constructor Detail

      • UserConsentManager

        public UserConsentManager()
    • Method Detail

      • 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