org.keycloak.models.mongo.utils

## Class MongoModelUtils

- java.lang.Object
- - org.keycloak.models.mongo.utils.MongoModelUtils

-     public class MongoModelUtils
      extends Object

  Author:
    Marek Posolda

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `MongoModelUtils()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static List<MongoRoleEntity>` | `getAllRolesOfUser(UserModel user, MongoStoreInvocationContext invContext)`
    `static List<MongoRoleEntity>` | `getAllScopesOfClient(ClientModel client, MongoStoreInvocationContext invContext)`

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

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

- - ### Constructor Detail

    - #### MongoModelUtils

          public MongoModelUtils()

  - ### Method Detail

    - #### getAllRolesOfUser

          public static List<MongoRoleEntity> getAllRolesOfUser(UserModel user,
                                                MongoStoreInvocationContext invContext)

    - #### getAllScopesOfClient

          public static List<MongoRoleEntity> getAllScopesOfClient(ClientModel client,
                                                   MongoStoreInvocationContext invContext)

Copyright © 2015. All Rights Reserved.