## Uses of Class
org.keycloak.models.UserConsentModel

- Packages that use UserConsentModel
  Package | Description
  --- | ---
  org.keycloak.models |
  org.keycloak.models.cache.infinispan |
  org.keycloak.models.cache.infinispan.entities |
  org.keycloak.models.jpa |
  org.keycloak.models.map.user |
  org.keycloak.models.utils |
  org.keycloak.storage |
  org.keycloak.storage.federated |
  org.keycloak.storage.jpa |

- - ### Uses of UserConsentModel in org.keycloak.models

    Methods in org.keycloak.models that return UserConsentModel
    Modifier and Type | Method and Description
    --- | ---
    `UserConsentModel` | UserProvider.`getConsentByClient(RealmModel realm, String userId, String clientInternalId)` Returns UserConsentModel given by a user with the userId for the client with clientInternalId

    Methods in org.keycloak.models that return types with arguments of type UserConsentModel
    Modifier and Type | Method and Description
    --- | ---
    `List<UserConsentModel>` | UserProvider.`getConsents(RealmModel realm, String userId)` Deprecated. Use `getConsentsStream` instead.
    `default List<UserConsentModel>` | UserProvider.Streams.`getConsents(RealmModel realm, String userId)`
    `default Stream<UserConsentModel>` | UserProvider.`getConsentsStream(RealmModel realm, String userId)` Obtains the consents associated with the user identified by the specified `userId`.
    `Stream<UserConsentModel>` | UserProvider.Streams.`getConsentsStream(RealmModel realm, String userId)`

    Methods in org.keycloak.models with parameters of type UserConsentModel
    Modifier and Type | Method and Description
    --- | ---
    `void` | 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

    Methods in org.keycloak.models.cache.infinispan that return UserConsentModel
    Modifier and Type | Method and Description
    --- | ---
    `UserConsentModel` | UserCacheSession.`getConsentByClient(RealmModel realm, String userId, String clientId)`

    Methods in org.keycloak.models.cache.infinispan that return types with arguments of type UserConsentModel
    Modifier and Type | Method and Description
    --- | ---
    `Stream<UserConsentModel>` | UserCacheSession.`getConsentsStream(RealmModel realm, String userId)`

    Methods in org.keycloak.models.cache.infinispan with parameters of type UserConsentModel
    Modifier and Type | Method and Description
    --- | ---
    `void` | 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

    Constructors in org.keycloak.models.cache.infinispan.entities with parameters of type UserConsentModel
    Constructor and Description
    `CachedUserConsent(UserConsentModel consentModel)`

    Constructor parameters in org.keycloak.models.cache.infinispan.entities with type arguments of type UserConsentModel
    Constructor and Description
    `CachedUserConsents(Long revision, String id, RealmModel realm, List<UserConsentModel> consents)`

  - ### Uses of UserConsentModel in org.keycloak.models.jpa

    Methods in org.keycloak.models.jpa that return UserConsentModel
    Modifier and Type | Method and Description
    --- | ---
    `UserConsentModel` | JpaUserProvider.`getConsentByClient(RealmModel realm, String userId, String clientId)`

    Methods in org.keycloak.models.jpa that return types with arguments of type UserConsentModel
    Modifier and Type | Method and Description
    --- | ---
    `Stream<UserConsentModel>` | JpaUserProvider.`getConsentsStream(RealmModel realm, String userId)`

    Methods in org.keycloak.models.jpa with parameters of type UserConsentModel
    Modifier and Type | Method and Description
    --- | ---
    `void` | JpaUserProvider.`addConsent(RealmModel realm, String userId, UserConsentModel consent)`
    `void` | JpaUserProvider.`updateConsent(RealmModel realm, String userId, UserConsentModel consent)`

  - ### Uses of UserConsentModel in org.keycloak.models.map.user

    Methods in org.keycloak.models.map.user that return UserConsentModel
    Modifier and Type | Method and Description
    --- | ---
    `UserConsentModel` | MapUserProvider.`getConsentByClient(RealmModel realm, String userId, String clientInternalId)`
    `static UserConsentModel` | UserConsentEntity.`toModel(RealmModel realm, UserConsentEntity entity)`

    Methods in org.keycloak.models.map.user that return types with arguments of type UserConsentModel
    Modifier and Type | Method and Description
    --- | ---
    `Stream<UserConsentModel>` | MapUserProvider.`getConsentsStream(RealmModel realm, String userId)`

    Methods in org.keycloak.models.map.user with parameters of type UserConsentModel
    Modifier and Type | Method and Description
    --- | ---
    `void` | MapUserProvider.`addConsent(RealmModel realm, String userId, UserConsentModel consent)`
    `static UserConsentEntity` | UserConsentEntity.`fromModel(UserConsentModel model)`
    `void` | MapUserProvider.`updateConsent(RealmModel realm, String userId, UserConsentModel consent)`

  - ### Uses of UserConsentModel in org.keycloak.models.utils

    Methods in org.keycloak.models.utils that return UserConsentModel
    Modifier and Type | Method and Description
    --- | ---
    `static UserConsentModel` | RepresentationToModel.`toModel(RealmModel newRealm, UserConsentRepresentation consentRep)`

    Methods in org.keycloak.models.utils with parameters of type UserConsentModel
    Modifier and Type | Method and Description
    --- | ---
    `static UserConsentRepresentation` | ModelToRepresentation.`toRepresentation(UserConsentModel model)`

  - ### Uses of UserConsentModel in org.keycloak.storage

    Methods in org.keycloak.storage that return UserConsentModel
    Modifier and Type | Method and Description
    --- | ---
    `UserConsentModel` | UserStorageManager.`getConsentByClient(RealmModel realm, String userId, String clientInternalId)`

    Methods in org.keycloak.storage that return types with arguments of type UserConsentModel
    Modifier and Type | Method and Description
    --- | ---
    `Stream<UserConsentModel>` | UserStorageManager.`getConsentsStream(RealmModel realm, String userId)`

    Methods in org.keycloak.storage with parameters of type UserConsentModel
    Modifier and Type | Method and Description
    --- | ---
    `void` | 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

    Methods in org.keycloak.storage.federated that return UserConsentModel
    Modifier and Type | Method and Description
    --- | ---
    `UserConsentModel` | UserConsentFederatedStorage.`getConsentByClient(RealmModel realm, String userId, String clientInternalId)`

    Methods in org.keycloak.storage.federated that return types with arguments of type UserConsentModel
    Modifier and Type | Method and Description
    --- | ---
    `List<UserConsentModel>` | UserConsentFederatedStorage.`getConsents(RealmModel realm, String userId)` Deprecated. Use `getConsentsStream` instead.
    `default List<UserConsentModel>` | UserConsentFederatedStorage.Streams.`getConsents(RealmModel realm, String userId)`
    `default Stream<UserConsentModel>` | UserConsentFederatedStorage.`getConsentsStream(RealmModel realm, String userId)` Obtains the consents associated with the federated user identified by `userId`.
    `Stream<UserConsentModel>` | UserConsentFederatedStorage.Streams.`getConsentsStream(RealmModel realm, String userId)`

    Methods in org.keycloak.storage.federated with parameters of type UserConsentModel
    Modifier and Type | Method and Description
    --- | ---
    `void` | 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

    Methods in org.keycloak.storage.jpa that return UserConsentModel
    Modifier and Type | Method and Description
    --- | ---
    `UserConsentModel` | JpaUserFederatedStorageProvider.`getConsentByClient(RealmModel realm, String userId, String clientInternalId)`

    Methods in org.keycloak.storage.jpa that return types with arguments of type UserConsentModel
    Modifier and Type | Method and Description
    --- | ---
    `Stream<UserConsentModel>` | JpaUserFederatedStorageProvider.`getConsentsStream(RealmModel realm, String userId)`

    Methods in org.keycloak.storage.jpa with parameters of type UserConsentModel
    Modifier and Type | Method and Description
    --- | ---
    `void` | JpaUserFederatedStorageProvider.`addConsent(RealmModel realm, String userId, UserConsentModel consent)`
    `void` | JpaUserFederatedStorageProvider.`updateConsent(RealmModel realm, String userId, UserConsentModel consent)`

Copyright © 2021 JBoss by Red Hat. All rights reserved.