org.keycloak.storage.user

## Interface UserRegistrationProvider

- All Known Subinterfaces:
    CacheUserProvider, UserProvider
  All Known Implementing Classes:
    JpaUserProvider, MongoUserProvider, UserCacheSession, UserFederationManager, UserStorageManager

      public interface UserRegistrationProvider

  Version:
    $Revision: 1 $
  Author:
    Bill Burke

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `UserModel` | `addUser(RealmModel realm, String username)`
    `void` | `grantToAllUsers(RealmModel realm, RoleModel role)`
    `boolean` | `removeUser(RealmModel realm, UserModel user)`

- - ### Method Detail

    - #### addUser

          UserModel addUser(RealmModel realm,
                            String username)

    - #### removeUser

          boolean removeUser(RealmModel realm,
                             UserModel user)

    - #### grantToAllUsers

          void grantToAllUsers(RealmModel realm,
                               RoleModel role)

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