Uses of Class
org.keycloak.models.UserConsentModel
Package
Description
-
Uses of UserConsentModel in org.keycloak.models
Modifier and TypeMethodDescriptionUserProvider.getConsentByClient
(RealmModel realm, String userId, String clientInternalId) Returns UserConsentModel given by a user with the userId for the client with clientInternalIdModifier and TypeMethodDescriptionUserProvider.getConsentsStream
(RealmModel realm, String userId) Obtains the consents associated with the user identified by the specifieduserId
.Modifier and TypeMethodDescriptionvoid
UserProvider.addConsent
(RealmModel realm, String userId, UserConsentModel consent) Add user consent for the user.void
UserProvider.updateConsent
(RealmModel realm, String userId, UserConsentModel consent) Update client scopes in the stored user consent -
Uses of UserConsentModel in org.keycloak.models.cache.infinispan
Modifier and TypeMethodDescriptionUserCacheSession.getConsentByClient
(RealmModel realm, String userId, String clientId) Modifier and TypeMethodDescriptionUserCacheSession.getConsentsStream
(RealmModel realm, String userId) Modifier and TypeMethodDescriptionvoid
UserCacheSession.addConsent
(RealmModel realm, String userId, UserConsentModel consent) void
UserCacheSession.updateConsent
(RealmModel realm, String userId, UserConsentModel consent) -
Uses of UserConsentModel in org.keycloak.models.cache.infinispan.entities
-
Uses of UserConsentModel in org.keycloak.models.jpa
Modifier and TypeMethodDescriptionJpaUserProvider.getConsentByClient
(RealmModel realm, String userId, String clientId) Modifier and TypeMethodDescriptionJpaUserProvider.getConsentsStream
(RealmModel realm, String userId) Modifier and TypeMethodDescriptionvoid
JpaUserProvider.addConsent
(RealmModel realm, String userId, UserConsentModel consent) void
JpaUserProvider.updateConsent
(RealmModel realm, String userId, UserConsentModel consent) -
Uses of UserConsentModel in org.keycloak.models.light
Modifier and TypeMethodDescriptionLightweightUserAdapter.getConsentByClient
(String clientInternalId) Modifier and TypeMethodDescriptionvoid
LightweightUserAdapter.addConsent
(UserConsentModel consent) void
LightweightUserAdapter.updateConsent
(UserConsentModel consent) -
Uses of UserConsentModel in org.keycloak.models.utils
Modifier and TypeMethodDescriptionstatic UserConsentModel
RepresentationToModel.toModel
(RealmModel newRealm, UserConsentRepresentation consentRep) Modifier and TypeMethodDescriptionstatic UserConsentRepresentation
ModelToRepresentation.toRepresentation
(UserConsentModel model) -
Uses of UserConsentModel in org.keycloak.services.managers
Modifier and TypeMethodDescriptionstatic UserConsentModel
UserConsentManager.getConsentByClient
(KeycloakSession session, RealmModel realm, UserModel user, String clientInternalId) Returns UserConsentModel given by a user for the client with clientInternalIdModifier and TypeMethodDescriptionstatic Stream<UserConsentModel>
UserConsentManager.getConsentsStream
(KeycloakSession session, RealmModel realm, UserModel user) Obtains the consents associated with the userModifier and TypeMethodDescriptionstatic void
UserConsentManager.addConsent
(KeycloakSession session, RealmModel realm, UserModel user, UserConsentModel consent) Add user consent for the user.static void
UserConsentManager.updateConsent
(KeycloakSession session, RealmModel realm, UserModel user, UserConsentModel consent) Update client scopes in the stored user consent -
Uses of UserConsentModel in org.keycloak.storage
Modifier and TypeMethodDescriptionUserStorageManager.getConsentByClient
(RealmModel realm, String userId, String clientInternalId) Modifier and TypeMethodDescriptionUserStorageManager.getConsentsStream
(RealmModel realm, String userId) Modifier and TypeMethodDescriptionvoid
UserStorageManager.addConsent
(RealmModel realm, String userId, UserConsentModel consent) void
UserStorageManager.updateConsent
(RealmModel realm, String userId, UserConsentModel consent) -
Uses of UserConsentModel in org.keycloak.storage.federated
Modifier and TypeMethodDescriptionUserConsentFederatedStorage.getConsentByClient
(RealmModel realm, String userId, String clientInternalId) Modifier and TypeMethodDescriptionUserConsentFederatedStorage.getConsentsStream
(RealmModel realm, String userId) Obtains the consents associated with the federated user identified byuserId
.Modifier and TypeMethodDescriptionvoid
UserConsentFederatedStorage.addConsent
(RealmModel realm, String userId, UserConsentModel consent) void
UserConsentFederatedStorage.updateConsent
(RealmModel realm, String userId, UserConsentModel consent) -
Uses of UserConsentModel in org.keycloak.storage.jpa
Modifier and TypeMethodDescriptionJpaUserFederatedStorageProvider.getConsentByClient
(RealmModel realm, String userId, String clientInternalId) Modifier and TypeMethodDescriptionJpaUserFederatedStorageProvider.getConsentsStream
(RealmModel realm, String userId) Modifier and TypeMethodDescriptionvoid
JpaUserFederatedStorageProvider.addConsent
(RealmModel realm, String userId, UserConsentModel consent) void
JpaUserFederatedStorageProvider.updateConsent
(RealmModel realm, String userId, UserConsentModel consent)