Package org.keycloak.services.managers
Class UserConsentManager
- java.lang.Object
-
- org.keycloak.services.managers.UserConsentManager
-
public class UserConsentManager extends Object
- Author:
- Marek Posolda
-
-
Constructor Summary
Constructors Constructor Description UserConsentManager()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
revokeConsentToClient(KeycloakSession session, ClientModel client, UserModel user)
Revoke consent of given user to given client
-
-
-
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
-
-