org.keycloak.storage.federated

## Interface UserGroupMembershipFederatedStorage

- All Known Subinterfaces:
    UserFederatedStorageProvider
  All Known Implementing Classes:
    JpaUserFederatedStorageProvider

      public interface UserGroupMembershipFederatedStorage

  Version:
    $Revision: 1 $
  Author:
    Bill Burke

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `Set<GroupModel>` | `getGroups(RealmModel realm, UserModel user)`
    `List<String>` | `getMembership(RealmModel realm, GroupModel group, int firstResult, int max)`
    `void` | `joinGroup(RealmModel realm, UserModel user, GroupModel group)`
    `void` | `leaveGroup(RealmModel realm, UserModel user, GroupModel group)`

- - ### Method Detail

    - #### getGroups

          Set<GroupModel> getGroups(RealmModel realm,
                                    UserModel user)

    - #### joinGroup

          void joinGroup(RealmModel realm,
                         UserModel user,
                         GroupModel group)

    - #### leaveGroup

          void leaveGroup(RealmModel realm,
                          UserModel user,
                          GroupModel group)

    - #### getMembership

          List<String> getMembership(RealmModel realm,
                                     GroupModel group,
                                     int firstResult,
                                     int max)

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