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` | `addGrantedProtocolMapper(ProtocolMapperModel protocolMapper)`
    `void` | `addGrantedRole(RoleModel role)`
    `ClientModel` | `getClient()`
    `Set<ProtocolMapperModel>` | `getGrantedProtocolMappers()`
    `Set<RoleModel>` | `getGrantedRoles()`
    `boolean` | `isProtocolMapperGranted(ProtocolMapperModel protocolMapper)`
    `boolean` | `isRoleGranted(RoleModel role)`

    - ### 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()

    - #### addGrantedRole

          public void addGrantedRole(RoleModel role)

    - #### getGrantedRoles

          public Set<RoleModel> getGrantedRoles()

    - #### isRoleGranted

          public boolean isRoleGranted(RoleModel role)

    - #### addGrantedProtocolMapper

          public void addGrantedProtocolMapper(ProtocolMapperModel protocolMapper)

    - #### getGrantedProtocolMappers

          public Set<ProtocolMapperModel> getGrantedProtocolMappers()

    - #### isProtocolMapperGranted

          public boolean isProtocolMapperGranted(ProtocolMapperModel protocolMapper)

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