org.keycloak.models

## Class UserConsentModel

- java.lang.Object
- - org.keycloak.models.UserConsentModel

-     public class UserConsentModel
      extends Object

  Author:
    Marek Posolda

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `UserConsentModel(ClientModel client)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addGrantedClientScope(ClientScopeModel clientScope)`
    `ClientModel` | `getClient()`
    `Long` | `getCreatedDate()`
    `Set<ClientScopeModel>` | `getGrantedClientScopes()`
    `Long` | `getLastUpdatedDate()`
    `boolean` | `isClientScopeGranted(ClientScopeModel clientScope)`
    `void` | `setCreatedDate(Long createdDate)`
    `void` | `setLastUpdatedDate(Long lastUpdatedDate)`

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

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

- - ### Constructor Detail

    - #### UserConsentModel

          public UserConsentModel(ClientModel client)

  - ### Method Detail

    - #### getClient

          public ClientModel getClient()

    - #### addGrantedClientScope

          public void addGrantedClientScope(ClientScopeModel clientScope)

    - #### getGrantedClientScopes

          public Set<ClientScopeModel> getGrantedClientScopes()

    - #### isClientScopeGranted

          public boolean isClientScopeGranted(ClientScopeModel clientScope)

    - #### getCreatedDate

          public Long getCreatedDate()

    - #### setCreatedDate

          public void setCreatedDate(Long createdDate)

    - #### getLastUpdatedDate

          public Long getLastUpdatedDate()

    - #### setLastUpdatedDate

          public void setLastUpdatedDate(Long lastUpdatedDate)

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