Package org.keycloak.services.managers
Class UserConsentManager
java.lang.Object
org.keycloak.services.managers.UserConsentManager
- Author:
- Marek Posolda
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
revokeConsentToClient
(KeycloakSession session, ClientModel client, UserModel user) Revoke consent of given user to given client
-
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
-