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
FieldsModifier and TypeFieldDescriptionDeprecated.protected List<UserConsentRepresentation>protected Longprotected List<CredentialRepresentation>protected Booleanprotected List<FederatedIdentityRepresentation>protected Stringprotected Integerprotected Stringprotected Stringprotected Stringprotected List<SocialLinkRepresentation>Deprecated.protected BooleanFields inherited from class org.keycloak.representations.idm.AbstractUserRepresentation
attributes, email, EMAIL, emailVerified, FIRST_NAME, firstName, id, LAST_NAME, lastName, LOCALE, username, USERNAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Deprecated.getSelf()isTotp()Deprecated.voidvoidsetClientConsents(List<UserConsentRepresentation> clientConsents) voidsetClientRoles(Map<String, List<String>> clientRoles) voidsetCreatedTimestamp(Long createdTimestamp) voidsetCredentials(List<CredentialRepresentation> credentials) voidsetDisableableCredentialTypes(Set<String> disableableCredentialTypes) voidsetEnabled(Boolean enabled) voidsetFederatedIdentities(List<FederatedIdentityRepresentation> federatedIdentities) voidsetFederationLink(String federationLink) voidvoidsetNotBefore(Integer notBefore) voidDeprecated.UsesetFederationLink(String)insteadvoidsetRealmRoles(List<String> realmRoles) voidsetRequiredActions(List<String> requiredActions) voidvoidsetServiceAccountClientId(String serviceAccountClientId) voidsetSocialLinks(List<SocialLinkRepresentation> socialLinks) voidDeprecated.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