Class UserRepresentation
- java.lang.Object
-
- org.keycloak.representations.account.UserRepresentation
-
public class UserRepresentation extends Object
- Author:
- Stian Thorgersen
-
-
Constructor Summary
Constructors Constructor Description UserRepresentation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
firstAttribute(String key)
Map<String,List<String>>
getAttributes()
String
getEmail()
String
getFirstName()
String
getId()
String
getLastName()
String
getUsername()
UserProfileMetadata
getUserProfileMetadata()
boolean
isEmailVerified()
void
setAttributes(Map<String,List<String>> attributes)
void
setEmail(String email)
void
setEmailVerified(boolean emailVerified)
void
setFirstName(String firstName)
void
setId(String id)
void
setLastName(String lastName)
void
setUsername(String username)
void
setUserProfileMetadata(UserProfileMetadata userProfileMetadata)
void
singleAttribute(String name, String value)
Map<String,List<String>>
toAttributes()
-
-
-
Method Detail
-
getId
public String getId()
-
setId
public void setId(String id)
-
getUsername
public String getUsername()
-
setUsername
public void setUsername(String username)
-
getFirstName
public String getFirstName()
-
setFirstName
public void setFirstName(String firstName)
-
getLastName
public String getLastName()
-
setLastName
public void setLastName(String lastName)
-
getEmail
public String getEmail()
-
setEmail
public void setEmail(String email)
-
isEmailVerified
public boolean isEmailVerified()
-
setEmailVerified
public void setEmailVerified(boolean emailVerified)
-
getUserProfileMetadata
public UserProfileMetadata getUserProfileMetadata()
-
setUserProfileMetadata
public void setUserProfileMetadata(UserProfileMetadata userProfileMetadata)
-
-