public static interface UserProvider.Streams extends UserProvider, UserQueryProvider.Streams
UserProvider.Streams| Modifier and Type | Method and Description |
|---|---|
default List<UserConsentModel> |
getConsents(RealmModel realm,
String userId) |
Stream<UserConsentModel> |
getConsentsStream(RealmModel realm,
String userId)
Obtains the consents associated with the user identified by the specified
userId. |
default Set<FederatedIdentityModel> |
getFederatedIdentities(UserModel user,
RealmModel realm) |
Stream<FederatedIdentityModel> |
getFederatedIdentitiesStream(UserModel user,
RealmModel realm)
Obtains the federated identities of the specified user.
|
default List<UserModel> |
getUsers(RealmModel realm,
boolean includeServiceAccounts) |
default List<UserModel> |
getUsers(RealmModel realm,
int firstResult,
int maxResults,
boolean includeServiceAccounts) |
Stream<UserModel> |
getUsersStream(RealmModel realm,
boolean includeServiceAccounts)
Obtains the users associated with the specified realm.
|
Stream<UserModel> |
getUsersStream(RealmModel realm,
Integer firstResult,
Integer maxResults,
boolean includeServiceAccounts)
Obtains the users associated with the specified realm.
|
addConsent, addFederatedIdentity, addUser, close, getConsentByClient, getFederatedIdentity, getNotBeforeOfUser, getServiceAccount, getUserByFederatedIdentity, preRemove, preRemove, preRemove, preRemove, preRemove, preRemove, preRemove, preRemove, removeFederatedIdentity, removeImportedUsers, revokeConsentForClient, setNotBeforeForUser, unlinkUsers, updateConsent, updateFederatedIdentitygetUserByEmail, getUserById, getUserByUsernameaddUser, removeUsergrantToAllUsersgetGroupMembers, getGroupMembers, getGroupMembersStream, getGroupMembersStream, getUsers, getUsers, getUsersStream, getUsersStream, searchForUser, searchForUser, searchForUser, searchForUser, searchForUserByUserAttribute, searchForUserByUserAttributeStream, searchForUserStream, searchForUserStream, searchForUserStream, searchForUserStreamcountUsersInGroups, getRoleMembers, getRoleMembers, getRoleMembersStream, getRoleMembersStream, getUsersCount, getUsersCount, getUsersCount, getUsersCount, getUsersCount, getUsersCount, getUsersCountdefault Set<FederatedIdentityModel> getFederatedIdentities(UserModel user, RealmModel realm)
getFederatedIdentities in interface UserProviderStream<FederatedIdentityModel> getFederatedIdentitiesStream(UserModel user, RealmModel realm)
UserProvidergetFederatedIdentitiesStream in interface UserProvideruser - a reference to the user.realm - a reference to the realm.Stream of federated identities associated with the user.default List<UserConsentModel> getConsents(RealmModel realm, String userId)
getConsents in interface UserProviderStream<UserConsentModel> getConsentsStream(RealmModel realm, String userId)
UserProvideruserId.getConsentsStream in interface UserProviderrealm - a reference to the realm.userId - the user identifier.Stream of consents associated with the user.default List<UserModel> getUsers(RealmModel realm, boolean includeServiceAccounts)
getUsers in interface UserProviderStream<UserModel> getUsersStream(RealmModel realm, boolean includeServiceAccounts)
UserProvidergetUsersStream in interface UserProviderrealm - a reference to the realm being used for the search.includeServiceAccounts - true if service accounts should be included in the result; false otherwise.Stream of users associated withe the realm.default List<UserModel> getUsers(RealmModel realm, int firstResult, int maxResults, boolean includeServiceAccounts)
getUsers in interface UserProviderStream<UserModel> getUsersStream(RealmModel realm, Integer firstResult, Integer maxResults, boolean includeServiceAccounts)
UserProvidergetUsersStream in interface UserProviderrealm - a reference to the realm being used for the search.firstResult - first result to return. Ignored if negative.maxResults - maximum number of results to return. Ignored if negative.includeServiceAccounts - true if service accounts should be included in the result; false otherwise.Stream of users associated withe the realm.Copyright © 2021 JBoss by Red Hat. All rights reserved.