Package org.keycloak.representations.idm
Class UserRepresentation
java.lang.Object
org.keycloak.representations.idm.UserRepresentation
- Direct Known Subclasses:
AbstractResourceService.Permission
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Field Summary
Modifier and TypeFieldDescriptionDeprecated.protected List<UserConsentRepresentation>
protected Long
protected List<CredentialRepresentation>
protected String
protected Boolean
protected Boolean
protected List<FederatedIdentityRepresentation>
protected String
protected String
protected String
protected String
protected Integer
protected String
protected String
protected String
protected List<SocialLinkRepresentation>
Deprecated.protected Boolean
protected String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfirstAttribute
(String key) Deprecated.getEmail()
getId()
Returns id of UserStorageProvider that loaded this usergetSelf()
isTotp()
Deprecated.void
void
setAttributes
(Map<String, List<String>> attributes) 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
void
setEmailVerified
(Boolean emailVerified) void
setEnabled
(Boolean enabled) void
setFederatedIdentities
(List<FederatedIdentityRepresentation> federatedIdentities) void
setFederationLink
(String federationLink) void
setFirstName
(String firstName) void
void
void
setLastName
(String lastName) void
setNotBefore
(Integer notBefore) void
void
setRealmRoles
(List<String> realmRoles) void
setRequiredActions
(List<String> requiredActions) void
void
setServiceAccountClientId
(String serviceAccountClientId) void
setSocialLinks
(List<SocialLinkRepresentation> socialLinks) void
Deprecated.void
setUsername
(String username) void
setUserProfileMetadata
(UserProfileMetadata userProfileMetadata) singleAttribute
(String name, String value)
-
Field Details
-
self
-
id
-
origin
-
createdTimestamp
-
username
-
enabled
-
totp
-
emailVerified
-
firstName
-
lastName
-
email
-
federationLink
-
serviceAccountClientId
-
attributes
-
credentials
-
disableableCredentialTypes
-
requiredActions
-
federatedIdentities
-
realmRoles
-
clientRoles
-
clientConsents
-
notBefore
-
applicationRoles
Deprecated. -
groups
-
-
Constructor Details
-
UserRepresentation
public UserRepresentation()
-
-
Method Details
-
getSelf
-
setSelf
-
getId
-
setId
-
getCreatedTimestamp
-
setCreatedTimestamp
-
getFirstName
-
setFirstName
-
getLastName
-
setLastName
-
getEmail
-
setEmail
-
getUsername
-
setUsername
-
isEnabled
-
setEnabled
-
isTotp
Deprecated. -
setTotp
Deprecated. -
isEmailVerified
-
setEmailVerified
-
getAttributes
-
setAttributes
-
singleAttribute
-
firstAttribute
-
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
Returns id of UserStorageProvider that loaded this user- Returns:
- NULL if user stored locally
-
setOrigin
-
getDisableableCredentialTypes
-
setDisableableCredentialTypes
-
getAccess
-
setAccess
-
toAttributes
-
setUserProfileMetadata
-
getUserProfileMetadata
-
socialLinks