org.keycloak.models.cache.infinispan.entities

## Class CachedUserConsents

- java.lang.Object
- - org.keycloak.models.cache.infinispan.entities.AbstractRevisioned
  - - org.keycloak.models.cache.infinispan.entities.CachedUserConsents

- All Implemented Interfaces:
    Serializable, CachedObject, InRealm, Revisioned

      public class CachedUserConsents
      extends AbstractRevisioned
      implements InRealm

  Version:
    $Revision: 1 $
  Author:
    Bill Burke
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `CachedUserConsents(Long revision, String id, RealmModel realm, List<UserConsentModel> consents)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `HashMap<String,CachedUserConsent>` | `getConsents()`
    `String` | `getRealm()`

    - ### Methods inherited from class org.keycloak.models.cache.infinispan.entities.AbstractRevisioned

      `getCacheTimestamp, getId, getRevision, setRevision`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

    - ### Methods inherited from interface org.keycloak.models.cache.infinispan.entities.Revisioned

      `getId, getRevision, setRevision`

- - ### Constructor Detail

    - #### CachedUserConsents

          public CachedUserConsents(Long revision,
                                    String id,
                                    RealmModel realm,
                                    List<UserConsentModel> consents)

  - ### Method Detail

    - #### getRealm

          public String getRealm()

      Specified by:
        `getRealm` in interface `InRealm`

    - #### getConsents

          public HashMap<String,CachedUserConsent> getConsents()

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