Class UserConsentEntity

java.lang.Object
org.keycloak.models.jpa.entities.UserConsentEntity

@Entity public class UserConsentEntity extends Object
Author:
Marek Posolda
  • Field Details

    • id

      protected String id
    • user

      protected UserEntity user
    • clientId

      protected String clientId
    • clientStorageProvider

      protected String clientStorageProvider
    • externalClientId

      protected String externalClientId
  • Constructor Details

    • UserConsentEntity

      public UserConsentEntity()
  • Method Details

    • getId

      public String getId()
    • setId

      public void setId(String id)
    • getUser

      public UserEntity getUser()
    • setUser

      public void setUser(UserEntity user)
    • getGrantedClientScopes

      public Collection<UserConsentClientScopeEntity> getGrantedClientScopes()
    • setGrantedClientScopes

      public void setGrantedClientScopes(Collection<UserConsentClientScopeEntity> grantedClientScopes)
    • getCreatedDate

      public Long getCreatedDate()
    • setCreatedDate

      public void setCreatedDate(Long createdDate)
    • getLastUpdatedDate

      public Long getLastUpdatedDate()
    • setLastUpdatedDate

      public void setLastUpdatedDate(Long lastUpdatedDate)
    • getClientId

      public String getClientId()
    • setClientId

      public void setClientId(String clientId)
    • getClientStorageProvider

      public String getClientStorageProvider()
    • setClientStorageProvider

      public void setClientStorageProvider(String clientStorageProvider)
    • getExternalClientId

      public String getExternalClientId()
    • setExternalClientId

      public void setExternalClientId(String externalClientId)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object