Class UserInfo

java.lang.Object
org.keycloak.representations.UserInfo

public class UserInfo extends Object
Author:
pedroigor
  • Field Details

    • issuer

      protected String issuer
    • audience

      protected String[] audience
    • sub

      protected String sub
    • name

      protected String name
    • givenName

      protected String givenName
    • familyName

      protected String familyName
    • middleName

      protected String middleName
    • nickName

      protected String nickName
    • preferredUsername

      protected String preferredUsername
    • profile

      protected String profile
    • picture

      protected String picture
    • website

      protected String website
    • email

      protected String email
    • emailVerified

      protected Boolean emailVerified
    • gender

      protected String gender
    • birthdate

      protected String birthdate
    • zoneinfo

      protected String zoneinfo
    • locale

      protected String locale
    • phoneNumber

      protected String phoneNumber
    • phoneNumberVerified

      protected Boolean phoneNumberVerified
    • address

      protected AddressClaimSet address
    • updatedAt

      protected Long updatedAt
    • claimsLocales

      protected String claimsLocales
    • otherClaims

      protected Map<String,Object> otherClaims
  • Constructor Details

    • UserInfo

      public UserInfo()
  • Method Details

    • getIssuer

      public String getIssuer()
    • setIssuer

      public void setIssuer(String issuer)
    • getAudience

      public String[] getAudience()
    • hasAudience

      public boolean hasAudience(String audience)
    • setAudience

      public void setAudience(String... audience)
    • getSubject

      public String getSubject()
    • setSubject

      public void setSubject(String subject)
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • getGivenName

      public String getGivenName()
    • setGivenName

      public void setGivenName(String givenName)
    • getFamilyName

      public String getFamilyName()
    • setFamilyName

      public void setFamilyName(String familyName)
    • getMiddleName

      public String getMiddleName()
    • setMiddleName

      public void setMiddleName(String middleName)
    • getNickName

      public String getNickName()
    • setNickName

      public void setNickName(String nickName)
    • getPreferredUsername

      public String getPreferredUsername()
    • setPreferredUsername

      public void setPreferredUsername(String preferredUsername)
    • getProfile

      public String getProfile()
    • setProfile

      public void setProfile(String profile)
    • getPicture

      public String getPicture()
    • setPicture

      public void setPicture(String picture)
    • getWebsite

      public String getWebsite()
    • setWebsite

      public void setWebsite(String website)
    • getEmail

      public String getEmail()
    • setEmail

      public void setEmail(String email)
    • getEmailVerified

      public Boolean getEmailVerified()
    • setEmailVerified

      public void setEmailVerified(Boolean emailVerified)
    • getGender

      public String getGender()
    • setGender

      public void setGender(String gender)
    • getBirthdate

      public String getBirthdate()
    • setBirthdate

      public void setBirthdate(String birthdate)
    • getZoneinfo

      public String getZoneinfo()
    • setZoneinfo

      public void setZoneinfo(String zoneinfo)
    • getLocale

      public String getLocale()
    • setLocale

      public void setLocale(String locale)
    • getPhoneNumber

      public String getPhoneNumber()
    • setPhoneNumber

      public void setPhoneNumber(String phoneNumber)
    • getPhoneNumberVerified

      public Boolean getPhoneNumberVerified()
    • setPhoneNumberVerified

      public void setPhoneNumberVerified(Boolean phoneNumberVerified)
    • getAddress

      public AddressClaimSet getAddress()
    • setAddress

      public void setAddress(AddressClaimSet address)
    • getUpdatedAt

      public Long getUpdatedAt()
    • setUpdatedAt

      public void setUpdatedAt(Long updatedAt)
    • getSub

      public String getSub()
    • setSub

      public void setSub(String sub)
    • getClaimsLocales

      public String getClaimsLocales()
    • setClaimsLocales

      public void setClaimsLocales(String claimsLocales)
    • getOtherClaims

      public Map<String,Object> getOtherClaims()
      This is a map of any other claims and data that might be in the UserInfo. Could be custom claims set up by the auth server
      Returns:
    • setOtherClaims

      public void setOtherClaims(String name, Object value)