Class UserRepresentation

java.lang.Object
org.keycloak.representations.account.UserRepresentation

public class UserRepresentation extends Object
Author:
Stian Thorgersen
  • Constructor Details

    • UserRepresentation

      public UserRepresentation()
  • Method Details

    • 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)
    • getAttributes

      public Map<String,List<String>> getAttributes()
    • setAttributes

      public void setAttributes(Map<String,List<String>> attributes)
    • singleAttribute

      public void singleAttribute(String name, String value)
    • firstAttribute

      public String firstAttribute(String key)
    • toAttributes

      public Map<String,List<String>> toAttributes()
    • getUserProfileMetadata

      public UserProfileMetadata getUserProfileMetadata()
    • setUserProfileMetadata

      public void setUserProfileMetadata(UserProfileMetadata userProfileMetadata)