Modifier and Type | Method and Description |
---|---|
UserRepresentation |
ClientResource.getServiceAccountUser() |
UserRepresentation |
UserResource.toRepresentation() |
Modifier and Type | Method and Description |
---|---|
Set<UserRepresentation> |
RoleResource.getRoleUserMembers()
Get role members
Returns users that have the given role
|
Set<UserRepresentation> |
RoleResource.getRoleUserMembers(Integer firstResult,
Integer maxResults)
Get role members
Returns users that have the given role, paginated according to the query parameters
|
List<UserRepresentation> |
UsersResource.list() |
List<UserRepresentation> |
UsersResource.list(Integer firstResult,
Integer maxResults) |
List<UserRepresentation> |
GroupResource.members()
Get users
Returns a list of all users in group.
|
List<UserRepresentation> |
GroupResource.members(Integer firstResult,
Integer maxResults)
Get users
Returns a list of users, filtered according to query parameters
|
List<UserRepresentation> |
GroupResource.members(Integer firstResult,
Integer maxResults,
Boolean briefRepresentation)
Get users
Returns a list of users, filtered according to query parameters
|
List<UserRepresentation> |
UsersResource.search(Boolean emailVerified,
Integer firstResult,
Integer maxResults,
Boolean enabled,
Boolean briefRepresentation) |
List<UserRepresentation> |
UsersResource.search(String username) |
List<UserRepresentation> |
UsersResource.search(String username,
Boolean exact) |
List<UserRepresentation> |
UsersResource.search(String search,
Integer firstResult,
Integer maxResults)
Search for users whose username or email matches the value provided by
search . |
List<UserRepresentation> |
UsersResource.search(String search,
Integer firstResult,
Integer maxResults,
Boolean briefRepresentation)
Search for users whose username or email matches the value provided by
search . |
List<UserRepresentation> |
UsersResource.search(String username,
String firstName,
String lastName,
String email,
Boolean emailVerified,
Integer firstResult,
Integer maxResults,
Boolean enabled,
Boolean briefRepresentation) |
List<UserRepresentation> |
UsersResource.search(String username,
String firstName,
String lastName,
String email,
Boolean emailVerified,
String idpAlias,
String idpUserId,
Integer firstResult,
Integer maxResults,
Boolean enabled,
Boolean briefRepresentation)
Search for users based on the given filters.
|
List<UserRepresentation> |
UsersResource.search(String username,
String firstName,
String lastName,
String email,
Integer firstResult,
Integer maxResults) |
List<UserRepresentation> |
UsersResource.search(String username,
String firstName,
String lastName,
String email,
Integer firstResult,
Integer maxResults,
Boolean enabled,
Boolean briefRepresentation) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
UsersResource.create(UserRepresentation userRepresentation) |
void |
UserResource.update(UserRepresentation userRepresentation) |
Modifier and Type | Method and Description |
---|---|
static UserRepresentation |
ExportUtils.exportFederatedUser(KeycloakSession session,
RealmModel realm,
String id,
ExportOptions options)
Full export of user data stored in federated storage (including role mappings and credentials)
|
static UserRepresentation |
ExportUtils.exportUser(KeycloakSession session,
RealmModel realm,
UserModel user,
ExportOptions options,
boolean internal)
Full export of user (including role mappings and credentials)
|
Modifier and Type | Method and Description |
---|---|
static UserRepresentation |
StripSecretsUtils.strip(UserRepresentation user) |
static UserRepresentation |
ModelToRepresentation.toBriefRepresentation(UserModel user) |
static UserRepresentation |
ModelToRepresentation.toRepresentation(KeycloakSession session,
RealmModel realm,
UserModel user) |
Modifier and Type | Method and Description |
---|---|
static void |
RepresentationToModel.createCredentials(UserRepresentation userRep,
KeycloakSession session,
RealmModel realm,
UserModel user,
boolean adminRequest) |
static void |
RepresentationToModel.createFederatedClientRoleMappings(UserFederatedStorageProvider federatedStorage,
RealmModel realm,
ClientModel clientModel,
UserRepresentation userRep,
List<String> roleNames) |
static void |
RepresentationToModel.createFederatedIdentities(UserRepresentation userRep,
KeycloakSession session,
RealmModel realm,
UserModel user) |
static void |
RepresentationToModel.createFederatedRoleMappings(UserFederatedStorageProvider federatedStorage,
UserRepresentation userRep,
RealmModel realm) |
static void |
RepresentationToModel.createGroups(UserRepresentation userRep,
RealmModel newRealm,
UserModel user) |
static void |
RepresentationToModel.createRoleMappings(UserRepresentation userRep,
UserModel user,
RealmModel realm) |
static UserModel |
RepresentationToModel.createUser(KeycloakSession session,
RealmModel newRealm,
UserRepresentation userRep) |
static void |
RepresentationToModel.importFederatedUser(KeycloakSession session,
RealmModel newRealm,
UserRepresentation userRep) |
static UserRepresentation |
StripSecretsUtils.strip(UserRepresentation user) |
Modifier and Type | Method and Description |
---|---|
List<UserRepresentation> |
UsersPartialImport.getRepList(PartialImportRepresentation partialImportRep) |
Modifier and Type | Method and Description |
---|---|
void |
UsersPartialImport.create(RealmModel realm,
KeycloakSession session,
UserRepresentation user) |
boolean |
UsersPartialImport.exists(RealmModel realm,
KeycloakSession session,
UserRepresentation user) |
String |
UsersPartialImport.existsMessage(RealmModel realm,
UserRepresentation user) |
String |
UsersPartialImport.getModelId(RealmModel realm,
KeycloakSession session,
UserRepresentation user) |
String |
UsersPartialImport.getName(UserRepresentation user) |
void |
UsersPartialImport.remove(RealmModel realm,
KeycloakSession session,
UserRepresentation user) |
Modifier and Type | Field and Description |
---|---|
protected List<UserRepresentation> |
RealmRepresentation.federatedUsers |
protected List<UserRepresentation> |
RealmRepresentation.users |
protected List<UserRepresentation> |
PartialImportRepresentation.users |
Modifier and Type | Method and Description |
---|---|
UserRepresentation |
UserRepresentation.singleAttribute(String name,
String value) |
UserRepresentation |
RealmRepresentation.user(String username) |
Modifier and Type | Method and Description |
---|---|
List<UserRepresentation> |
RealmRepresentation.getFederatedUsers() |
List<UserRepresentation> |
RealmRepresentation.getUsers() |
List<UserRepresentation> |
PartialImportRepresentation.getUsers() |
Modifier and Type | Method and Description |
---|---|
void |
RealmRepresentation.setFederatedUsers(List<UserRepresentation> federatedUsers) |
void |
RealmRepresentation.setUsers(List<UserRepresentation> users) |
void |
PartialImportRepresentation.setUsers(List<UserRepresentation> users) |
Modifier and Type | Class and Description |
---|---|
static class |
AbstractResourceService.Permission |
Modifier and Type | Method and Description |
---|---|
UserRepresentation |
ClientResource.getServiceAccountUser()
Get a user dedicated to the service account
|
UserRepresentation |
UserResource.getUser()
Get representation of the user
|
Modifier and Type | Method and Description |
---|---|
Stream<UserRepresentation> |
GroupResource.getMembers(Integer firstResult,
Integer maxResults,
Boolean briefRepresentation)
Get users
Returns a stream of users, filtered according to query parameters
|
Stream<UserRepresentation> |
UsersResource.getUsers(String search,
String last,
String first,
String email,
String username,
Boolean emailVerified,
String idpAlias,
String idpUserId,
Integer firstResult,
Integer maxResults,
Boolean enabled,
Boolean briefRepresentation,
Boolean exact)
Get users
Returns a stream of users, filtered according to query parameters
|
Stream<UserRepresentation> |
RoleContainerResource.getUsersInRole(String roleName,
Integer firstResult,
Integer maxResults)
Returns a stream of users that have the specified role name.
|
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
UsersResource.createUser(UserRepresentation rep)
Create a new user
Username must be unique.
|
javax.ws.rs.core.Response |
UserResource.updateUser(UserRepresentation rep)
Update the user
|
static void |
UserResource.updateUserFromRep(UserProfile profile,
UserModel user,
UserRepresentation rep,
KeycloakSession session,
boolean isUpdateExistingUser) |
Copyright © 2021 JBoss by Red Hat. All rights reserved.