Uses of Class
org.keycloak.representations.idm.UserRepresentation
Package
Description
-
Uses of UserRepresentation in org.keycloak.admin.client.resource
Modifier and TypeMethodDescriptionClientResource.getServiceAccountUser()
UserResource.toRepresentation()
UserResource.toRepresentation
(boolean userProfileMetadata) Modifier and TypeMethodDescriptionRoleResource.getRoleUserMembers()
Deprecated.RoleResource.getRoleUserMembers
(Integer firstResult, Integer maxResults) Deprecated.RoleResource.getUserMembers()
Get role members.RoleResource.getUserMembers
(Integer firstResult, Integer maxResults) Get role members.UsersResource.list()
GroupResource.members()
Get usersGet usersGet usersUsersResource.search
(Boolean emailVerified, Integer firstResult, Integer maxResults, Boolean enabled, Boolean briefRepresentation) Search for users whose username or email matches the value provided bysearch
.UsersResource.search
(String search, Integer firstResult, Integer maxResults, Boolean briefRepresentation) Search for users whose username or email matches the value provided bysearch
.UsersResource.search
(String username, String firstName, String lastName, String email, Boolean emailVerified, Integer firstResult, Integer maxResults, Boolean enabled, Boolean briefRepresentation) 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.UsersResource.search
(String username, String firstName, String lastName, String email, Integer firstResult, Integer maxResults) UsersResource.search
(String username, String firstName, String lastName, String email, Integer firstResult, Integer maxResults, Boolean enabled, Boolean briefRepresentation) UsersResource.search
(String username, String firstName, String lastName, String email, Integer firstResult, Integer maxResults, Boolean enabled, Boolean briefRepresentation, Boolean exact) Search for users based on the given filters.UsersResource.searchByAttributes
(Integer firstResult, Integer maxResults, Boolean enabled, Boolean briefRepresentation, String searchQuery) UsersResource.searchByAttributes
(String searchQuery) UsersResource.searchByEmail
(String email, Boolean exact) UsersResource.searchByFirstName
(String email, Boolean exact) UsersResource.searchByLastName
(String email, Boolean exact) UsersResource.searchByUsername
(String username, Boolean exact) Modifier and TypeMethodDescriptionjakarta.ws.rs.core.Response
UsersResource.create
(UserRepresentation userRepresentation) void
UserResource.update
(UserRepresentation userRepresentation) -
Uses of UserRepresentation in org.keycloak.exportimport.util
Modifier and TypeMethodDescriptionstatic 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) -
Uses of UserRepresentation in org.keycloak.models.utils
Modifier and TypeMethodDescriptionstatic UserRepresentation
StripSecretsUtils.strip
(UserRepresentation user) static UserRepresentation
ModelToRepresentation.toBriefRepresentation
(UserModel user) static UserRepresentation
ModelToRepresentation.toRepresentation
(KeycloakSession session, RealmModel realm, UserModel user) Modifier and TypeMethodDescriptionstatic void
RepresentationToModel.createCredentials
(UserRepresentation userRep, KeycloakSession session, RealmModel realm, UserModel user, boolean adminRequest) static void
RepresentationToModel.createFederatedIdentities
(UserRepresentation userRep, KeycloakSession session, RealmModel realm, UserModel user) static void
RepresentationToModel.createGroups
(KeycloakSession session, 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 UserRepresentation
StripSecretsUtils.strip
(UserRepresentation user) -
Uses of UserRepresentation in org.keycloak.partialimport
Modifier and TypeMethodDescriptionUsersPartialImport.getRepList
(PartialImportRepresentation partialImportRep) Modifier and TypeMethodDescriptionvoid
UsersPartialImport.create
(RealmModel realm, KeycloakSession session, UserRepresentation user) boolean
UsersPartialImport.exists
(RealmModel realm, KeycloakSession session, UserRepresentation user) UsersPartialImport.existsMessage
(RealmModel realm, UserRepresentation user) UsersPartialImport.getModelId
(RealmModel realm, KeycloakSession session, UserRepresentation user) UsersPartialImport.getName
(UserRepresentation user) void
UsersPartialImport.remove
(RealmModel realm, KeycloakSession session, UserRepresentation user) -
Uses of UserRepresentation in org.keycloak.representations.idm
Modifier and TypeFieldDescriptionprotected List<UserRepresentation>
RealmRepresentation.federatedUsers
protected List<UserRepresentation>
PartialImportRepresentation.users
protected List<UserRepresentation>
RealmRepresentation.users
Modifier and TypeMethodDescriptionRealmRepresentation.getFederatedUsers()
PartialImportRepresentation.getUsers()
RealmRepresentation.getUsers()
Modifier and TypeMethodDescriptionvoid
RealmRepresentation.setFederatedUsers
(List<UserRepresentation> federatedUsers) void
PartialImportRepresentation.setUsers
(List<UserRepresentation> users) void
RealmRepresentation.setUsers
(List<UserRepresentation> users) -
Uses of UserRepresentation in org.keycloak.services.resources.account.resources
-
Uses of UserRepresentation in org.keycloak.services.resources.admin
Modifier and TypeMethodDescriptionClientResource.getServiceAccountUser()
Get a user dedicated to the service accountUserResource.getUser
(boolean userProfileMetadata) Get representation of the userModifier and TypeMethodDescriptionGroupResource.getMembers
(Integer firstResult, Integer maxResults, Boolean briefRepresentation) Get users Returns a stream of users, filtered according to query parametersUsersResource.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, String searchQuery) Get users Returns a stream of users, filtered according to query parameters.RoleContainerResource.getUsersInRole
(String roleName, Integer firstResult, Integer maxResults) Returns a stream of users that have the specified role name.Modifier and TypeMethodDescriptionjakarta.ws.rs.core.Response
UsersResource.createUser
(UserRepresentation rep) Create a new user Username must be unique.jakarta.ws.rs.core.Response
UserResource.updateUser
(UserRepresentation rep) Update the userstatic void
UserResource.updateUserFromRep
(UserProfile profile, UserModel user, UserRepresentation rep, KeycloakSession session, boolean isUpdateExistingUser) -
Uses of UserRepresentation in org.keycloak.storage
Modifier and TypeMethodDescriptionExportImportManager.createUser
(RealmModel realm, UserRepresentation userRep) -
Uses of UserRepresentation in org.keycloak.storage.datastore
Modifier and TypeMethodDescriptionstatic void
LegacyExportImportManager.convertDeprecatedSocialProviders
(UserRepresentation user) LegacyExportImportManager.createUser
(RealmModel newRealm, UserRepresentation userRep) static void
LegacyExportImportManager.importFederatedUser
(KeycloakSession session, RealmModel newRealm, UserRepresentation userRep)
RoleResource.getUserMembers()