Package org.keycloak.representations.idm
Class UserRepresentation
java.lang.Object
org.keycloak.representations.idm.AbstractUserRepresentation
org.keycloak.representations.idm.UserRepresentation
- Direct Known Subclasses:
AbstractResourceService.Permission
,MemberRepresentation
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Field Summary
Modifier and TypeFieldDescriptionDeprecated.protected List<UserConsentRepresentation>
protected Long
protected List<CredentialRepresentation>
protected Boolean
protected List<FederatedIdentityRepresentation>
protected String
protected Integer
protected String
protected String
protected String
protected List<SocialLinkRepresentation>
Deprecated.protected Boolean
Fields inherited from class org.keycloak.representations.idm.AbstractUserRepresentation
attributes, email, EMAIL, emailVerified, FIRST_NAME, firstName, id, LAST_NAME, lastName, LOCALE, username, USERNAME
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Deprecated.getSelf()
isTotp()
Deprecated.void
void
setClientConsents
(List<UserConsentRepresentation> clientConsents) void
setClientRoles
(Map<String, List<String>> clientRoles) void
setCreatedTimestamp
(Long createdTimestamp) void
setCredentials
(List<CredentialRepresentation> credentials) void
setDisableableCredentialTypes
(Set<String> disableableCredentialTypes) void
setEnabled
(Boolean enabled) void
setFederatedIdentities
(List<FederatedIdentityRepresentation> federatedIdentities) void
setFederationLink
(String federationLink) void
void
setNotBefore
(Integer notBefore) void
Deprecated.UsesetFederationLink(String)
insteadvoid
setRealmRoles
(List<String> realmRoles) void
setRequiredActions
(List<String> requiredActions) void
void
setServiceAccountClientId
(String serviceAccountClientId) void
setSocialLinks
(List<SocialLinkRepresentation> socialLinks) void
Deprecated.Methods inherited from class org.keycloak.representations.idm.AbstractUserRepresentation
firstAttribute, getAttributes, getEmail, getFirstName, getId, getLastName, getRawAttributes, getUsername, getUserProfileMetadata, isEmailVerified, setAttributes, setEmail, setEmailVerified, setFirstName, setId, setLastName, setUsername, setUserProfileMetadata, singleAttribute
-
Field Details
-
self
-
origin
-
createdTimestamp
-
enabled
-
totp
-
federationLink
-
serviceAccountClientId
-
credentials
-
disableableCredentialTypes
-
requiredActions
-
federatedIdentities
-
realmRoles
-
clientRoles
-
clientConsents
-
notBefore
-
applicationRoles
Deprecated. -
socialLinks
Deprecated. -
groups
-
-
Constructor Details
-
UserRepresentation
public UserRepresentation() -
UserRepresentation
-
-
Method Details
-
getSelf
-
setSelf
-
getCreatedTimestamp
-
setCreatedTimestamp
-
isEnabled
-
setEnabled
-
isTotp
Deprecated. -
setTotp
Deprecated. -
getCredentials
-
setCredentials
-
getRequiredActions
-
setRequiredActions
-
getFederatedIdentities
-
setFederatedIdentities
-
getSocialLinks
-
setSocialLinks
-
getRealmRoles
-
setRealmRoles
-
getClientRoles
-
setClientRoles
-
getClientConsents
-
setClientConsents
-
getNotBefore
-
setNotBefore
-
getApplicationRoles
Deprecated. -
getFederationLink
-
setFederationLink
-
getServiceAccountClientId
-
setServiceAccountClientId
-
getGroups
-
setGroups
-
getOrigin
Deprecated.UsegetFederationLink()
insteadReturns id of UserStorageProvider that loaded this user- Returns:
- NULL if user stored locally
-
setOrigin
Deprecated.UsesetFederationLink(String)
instead- Parameters:
origin
- the origin
-
getDisableableCredentialTypes
-
setDisableableCredentialTypes
-
getAccess
-
setAccess
-
getFederationLink()
instead