Class PersonClaims
- java.lang.Object
-
- com.nimbusds.openid.connect.sdk.claims.ClaimsSet
-
- com.nimbusds.openid.connect.sdk.claims.PersonClaims
-
- All Implemented Interfaces:
net.minidev.json.JSONAware
- Direct Known Subclasses:
UserInfo
public class PersonClaims extends ClaimsSet
Person-specific claims set, intended to provide common getters and setters forOpenID Connect UserInfoandOpenID Connect Identity Assurance verified claims.Related specifications:
- OpenID Connect Core 1.0, sections 5.1 and 5.6.
- OpenID Connect for Identity Assurance 1.0, section 3.1.
-
-
Field Summary
Fields Modifier and Type Field Description static StringADDRESS_CLAIM_NAMEThe address claim name.static StringBIRTH_FAMILY_NAME_CLAIM_NAMEThe birth family name claim name (OpenID Connect for Identity Assurance 1.0).static StringBIRTH_GIVEN_NAME_CLAIM_NAMEThe birth given name claim name (OpenID Connect for Identity Assurance 1.0).static StringBIRTH_MIDDLE_NAME_CLAIM_NAMEThe birth middle name claim name (OpenID Connect for Identity Assurance 1.0).static StringBIRTHDATE_CLAIM_NAMEThe birth date claim name.static StringBIRTHPLACE_CLAIM_NAMEThe birthplace claim name (OpenID Connect for Identity Assurance 1.0).static StringEMAIL_CLAIM_NAMEThe email claim name.static StringEMAIL_VERIFIED_CLAIM_NAMEThe email verified claim name.static StringFAMILY_NAME_CLAIM_NAMEThe family name claim name.static StringGENDER_CLAIM_NAMEThe gender claim name.static StringGIVEN_NAME_CLAIM_NAMEThe given name claim name.static StringLOCALE_CLAIM_NAMEThe locale claim name.static StringMIDDLE_NAME_CLAIM_NAMEThe middle name claim name.static StringNAME_CLAIM_NAMEThe name claim name.static StringNATIONALITIES_CLAIM_NAMEThe nationalities claim name (OpenID Connect for Identity Assurance 1.0).static StringNICKNAME_CLAIM_NAMEThe nickname claim name.static StringPHONE_NUMBER_CLAIM_NAMEThe phone number claim name.static StringPHONE_NUMBER_VERIFIED_CLAIM_NAMEThe phone number verified claim name.static StringPICTURE_CLAIM_NAMEThe picture claim name.static StringPREFERRED_USERNAME_CLAIM_NAMEThe preferred username claim name.static StringPROFILE_CLAIM_NAMEThe profile claim name.static StringSALUTATION_CLAIM_NAMEThe salutation claim name (OpenID Connect for Identity Assurance 1.0).static StringTITLE_CLAIM_NAMEThe title claim name (OpenID Connect for Identity Assurance 1.0).static StringUPDATED_AT_CLAIM_NAMEThe updated at claim name.static StringWEBSITE_CLAIM_NAMEThe website claim name.static StringZONEINFO_CLAIM_NAMEThe zoneinfo claim name.-
Fields inherited from class com.nimbusds.openid.connect.sdk.claims.ClaimsSet
AUD_CLAIM_NAME, claims, ISS_CLAIM_NAME
-
-
Constructor Summary
Constructors Constructor Description PersonClaims()Creates a new empty person-specific claims set.PersonClaims(net.minidev.json.JSONObject jsonObject)Creates a new person-specific claims set from the specified JSON object.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description AddressgetAddress()Gets the preferred address.AddressgetAddress(com.nimbusds.langtag.LangTag langTag)Gets the preferred address.Map<com.nimbusds.langtag.LangTag,Address>getAddressEntries()Gets the preferred address entries.StringgetBirthdate()Gets the date of birth.StringgetBirthFamilyName()Gets the birth family name.StringgetBirthFamilyName(com.nimbusds.langtag.LangTag langTag)Gets the birth family name.Map<com.nimbusds.langtag.LangTag,String>getBirthFamilyNameEntries()Gets the birth family name entries.StringgetBirthGivenName()Gets the birth given name.StringgetBirthGivenName(com.nimbusds.langtag.LangTag langTag)Gets the birth given name.Map<com.nimbusds.langtag.LangTag,String>getBirthGivenNameEntries()Gets the birth given name entries.StringgetBirthMiddleName()Gets the birth middle name.StringgetBirthMiddleName(com.nimbusds.langtag.LangTag langTag)Gets the birth middle name.Map<com.nimbusds.langtag.LangTag,String>getBirthMiddleNameEntries()Gets the birth middle name entries.BirthplacegetBirthplace()Gets the birthplace.javax.mail.internet.InternetAddressgetEmail()Deprecated.StringgetEmailAddress()Gets the preferred email address.BooleangetEmailVerified()Gets the email verification status.StringgetFamilyName()Gets the surname or last name.StringgetFamilyName(com.nimbusds.langtag.LangTag langTag)Gets the surname or last name.Map<com.nimbusds.langtag.LangTag,String>getFamilyNameEntries()Gets the surname or last name entries.GendergetGender()Gets the gender.StringgetGivenName()Gets the given or first name.StringgetGivenName(com.nimbusds.langtag.LangTag langTag)Gets the given or first name.Map<com.nimbusds.langtag.LangTag,String>getGivenNameEntries()Gets the given or first name entries.StringgetLocale()Gets the locale.StringgetMiddleName()Gets the middle name.StringgetMiddleName(com.nimbusds.langtag.LangTag langTag)Gets the middle name.Map<com.nimbusds.langtag.LangTag,String>getMiddleNameEntries()Gets the middle name entries.StringgetName()Gets the full name.StringgetName(com.nimbusds.langtag.LangTag langTag)Gets the full name.Map<com.nimbusds.langtag.LangTag,String>getNameEntries()Gets the full name entries.List<CountryCode>getNationalities()Gets the user's nationalities.StringgetNickname()Gets the casual name.StringgetNickname(com.nimbusds.langtag.LangTag langTag)Gets the casual name.Map<com.nimbusds.langtag.LangTag,String>getNicknameEntries()Gets the casual name entries.StringgetPhoneNumber()Gets the preferred telephone number.BooleangetPhoneNumberVerified()Gets the phone number verification status.URIgetPicture()Gets the picture.StringgetPreferredUsername()Gets the preferred username.URIgetProfile()Gets the profile page.StringgetSalutation()Gets the salutation.StringgetSalutation(com.nimbusds.langtag.LangTag langTag)Gets the salutation.Map<com.nimbusds.langtag.LangTag,String>getSalutationEntries()Gets the salutation entries.static Set<String>getStandardClaimNames()Gets the names of the standard top-level UserInfo claims.StringgetTitle()Gets the title.StringgetTitle(com.nimbusds.langtag.LangTag langTag)Gets the title.Map<com.nimbusds.langtag.LangTag,String>getTitleEntries()Gets the title entries.DategetUpdatedTime()Gets the time the end-user information was last updated.URIgetWebsite()Gets the web page or blog.StringgetZoneinfo()Gets the zoneinfo.voidsetAddress(Address address)Sets the preferred address.voidsetAddress(Address address, com.nimbusds.langtag.LangTag langTag)Sets the preferred address.voidsetBirthdate(String birthdate)Sets the date of birth.voidsetBirthFamilyName(String birthFamilyName)Sets the birth family name.voidsetBirthFamilyName(String birthFamilyName, com.nimbusds.langtag.LangTag langTag)Sets the birth family name.voidsetBirthGivenName(String birthGivenName)Sets the birth given name.voidsetBirthGivenName(String birthGivenName, com.nimbusds.langtag.LangTag langTag)Sets the birth given name.voidsetBirthMiddleName(String birthMiddleName)Sets the birth middle name.voidsetBirthMiddleName(String birthMiddleName, com.nimbusds.langtag.LangTag langTag)Sets the birth middle name.voidsetBirthplace(Birthplace birthplace)Sets the birthplace.voidsetEmail(javax.mail.internet.InternetAddress email)Deprecated.voidsetEmailAddress(String email)Sets the preferred email address.voidsetEmailVerified(Boolean emailVerified)Sets the email verification status.voidsetFamilyName(String familyName)Sets the surname or last name.voidsetFamilyName(String familyName, com.nimbusds.langtag.LangTag langTag)Sets the surname or last name.voidsetGender(Gender gender)Sets the gender.voidsetGivenName(String givenName)Sets the given or first name.voidsetGivenName(String givenName, com.nimbusds.langtag.LangTag langTag)Sets the given or first name.voidsetLocale(String locale)Sets the locale.voidsetMiddleName(String middleName)Sets the middle name.voidsetMiddleName(String middleName, com.nimbusds.langtag.LangTag langTag)Sets the middle name.voidsetName(String name)Sets the full name.voidsetName(String name, com.nimbusds.langtag.LangTag langTag)Sets the full name.voidsetNationalities(List<CountryCode> nationalities)Sets the user's nationalities.voidsetNickname(String nickname)Sets the casual name.voidsetNickname(String nickname, com.nimbusds.langtag.LangTag langTag)Sets the casual name.voidsetPhoneNumber(String phoneNumber)Sets the preferred telephone number.voidsetPhoneNumberVerified(Boolean phoneNumberVerified)Sets the email verification status.voidsetPicture(URI picture)Sets the picture.voidsetPreferredUsername(String preferredUsername)Sets the preferred username.voidsetProfile(URI profile)Sets the profile page.voidsetSalutation(String salutation)Sets the salutation.voidsetSalutation(String salutation, com.nimbusds.langtag.LangTag langTag)Sets the salutation.voidsetTitle(String title)Sets the title.voidsetTitle(String title, com.nimbusds.langtag.LangTag langTag)Sets the title.voidsetUpdatedTime(Date updatedTime)Sets the time the end-user information was last updated.voidsetWebsite(URI website)Sets the web page or blog.voidsetZoneinfo(String zoneinfo)Sets the zoneinfo.-
Methods inherited from class com.nimbusds.openid.connect.sdk.claims.ClaimsSet
getAudience, getBooleanClaim, getClaim, getClaim, getDateClaim, getEmailClaim, getIssuer, getLangTaggedClaim, getNumberClaim, getStringClaim, getStringClaim, getStringListClaim, getURIClaim, getURLClaim, putAll, putAll, setAudience, setAudience, setClaim, setClaim, setDateClaim, setEmailClaim, setIssuer, setURIClaim, setURLClaim, toJSONObject, toJSONString, toJWTClaimsSet
-
-
-
-
Field Detail
-
NAME_CLAIM_NAME
public static final String NAME_CLAIM_NAME
The name claim name.- See Also:
- Constant Field Values
-
GIVEN_NAME_CLAIM_NAME
public static final String GIVEN_NAME_CLAIM_NAME
The given name claim name.- See Also:
- Constant Field Values
-
FAMILY_NAME_CLAIM_NAME
public static final String FAMILY_NAME_CLAIM_NAME
The family name claim name.- See Also:
- Constant Field Values
-
MIDDLE_NAME_CLAIM_NAME
public static final String MIDDLE_NAME_CLAIM_NAME
The middle name claim name.- See Also:
- Constant Field Values
-
NICKNAME_CLAIM_NAME
public static final String NICKNAME_CLAIM_NAME
The nickname claim name.- See Also:
- Constant Field Values
-
PREFERRED_USERNAME_CLAIM_NAME
public static final String PREFERRED_USERNAME_CLAIM_NAME
The preferred username claim name.- See Also:
- Constant Field Values
-
PROFILE_CLAIM_NAME
public static final String PROFILE_CLAIM_NAME
The profile claim name.- See Also:
- Constant Field Values
-
PICTURE_CLAIM_NAME
public static final String PICTURE_CLAIM_NAME
The picture claim name.- See Also:
- Constant Field Values
-
WEBSITE_CLAIM_NAME
public static final String WEBSITE_CLAIM_NAME
The website claim name.- See Also:
- Constant Field Values
-
EMAIL_CLAIM_NAME
public static final String EMAIL_CLAIM_NAME
The email claim name.- See Also:
- Constant Field Values
-
EMAIL_VERIFIED_CLAIM_NAME
public static final String EMAIL_VERIFIED_CLAIM_NAME
The email verified claim name.- See Also:
- Constant Field Values
-
GENDER_CLAIM_NAME
public static final String GENDER_CLAIM_NAME
The gender claim name.- See Also:
- Constant Field Values
-
BIRTHDATE_CLAIM_NAME
public static final String BIRTHDATE_CLAIM_NAME
The birth date claim name.- See Also:
- Constant Field Values
-
ZONEINFO_CLAIM_NAME
public static final String ZONEINFO_CLAIM_NAME
The zoneinfo claim name.- See Also:
- Constant Field Values
-
LOCALE_CLAIM_NAME
public static final String LOCALE_CLAIM_NAME
The locale claim name.- See Also:
- Constant Field Values
-
PHONE_NUMBER_CLAIM_NAME
public static final String PHONE_NUMBER_CLAIM_NAME
The phone number claim name.- See Also:
- Constant Field Values
-
PHONE_NUMBER_VERIFIED_CLAIM_NAME
public static final String PHONE_NUMBER_VERIFIED_CLAIM_NAME
The phone number verified claim name.- See Also:
- Constant Field Values
-
ADDRESS_CLAIM_NAME
public static final String ADDRESS_CLAIM_NAME
The address claim name.- See Also:
- Constant Field Values
-
UPDATED_AT_CLAIM_NAME
public static final String UPDATED_AT_CLAIM_NAME
The updated at claim name.- See Also:
- Constant Field Values
-
BIRTHPLACE_CLAIM_NAME
public static final String BIRTHPLACE_CLAIM_NAME
The birthplace claim name (OpenID Connect for Identity Assurance 1.0).- See Also:
- Constant Field Values
-
NATIONALITIES_CLAIM_NAME
public static final String NATIONALITIES_CLAIM_NAME
The nationalities claim name (OpenID Connect for Identity Assurance 1.0).- See Also:
- Constant Field Values
-
BIRTH_FAMILY_NAME_CLAIM_NAME
public static final String BIRTH_FAMILY_NAME_CLAIM_NAME
The birth family name claim name (OpenID Connect for Identity Assurance 1.0).- See Also:
- Constant Field Values
-
BIRTH_GIVEN_NAME_CLAIM_NAME
public static final String BIRTH_GIVEN_NAME_CLAIM_NAME
The birth given name claim name (OpenID Connect for Identity Assurance 1.0).- See Also:
- Constant Field Values
-
BIRTH_MIDDLE_NAME_CLAIM_NAME
public static final String BIRTH_MIDDLE_NAME_CLAIM_NAME
The birth middle name claim name (OpenID Connect for Identity Assurance 1.0).- See Also:
- Constant Field Values
-
SALUTATION_CLAIM_NAME
public static final String SALUTATION_CLAIM_NAME
The salutation claim name (OpenID Connect for Identity Assurance 1.0).- See Also:
- Constant Field Values
-
TITLE_CLAIM_NAME
public static final String TITLE_CLAIM_NAME
The title claim name (OpenID Connect for Identity Assurance 1.0).- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PersonClaims
public PersonClaims()
Creates a new empty person-specific claims set.
-
PersonClaims
public PersonClaims(net.minidev.json.JSONObject jsonObject)
Creates a new person-specific claims set from the specified JSON object.- Parameters:
jsonObject- The JSON object. Must not benull.
-
-
Method Detail
-
getStandardClaimNames
public static Set<String> getStandardClaimNames()
Gets the names of the standard top-level UserInfo claims.- Returns:
- The names of the standard top-level UserInfo claims (read-only set).
-
getName
public String getName()
Gets the full name. Corresponds to thenameclaim, with no language tag.- Returns:
- The full name,
nullif not specified.
-
getName
public String getName(com.nimbusds.langtag.LangTag langTag)
Gets the full name. Corresponds to thenameclaim, with an optional language tag.- Parameters:
langTag- The language tag of the entry,nullto get the non-tagged entry.- Returns:
- The full name,
nullif not specified.
-
getNameEntries
public Map<com.nimbusds.langtag.LangTag,String> getNameEntries()
Gets the full name entries. Correspond to thenameclaim.- Returns:
- The full name entries, empty map if none.
-
setName
public void setName(String name)
Sets the full name. Corresponds to thenameclaim, with no language tag.- Parameters:
name- The full name. Ifnullthe claim will be removed.
-
setName
public void setName(String name, com.nimbusds.langtag.LangTag langTag)
Sets the full name. Corresponds to thenameclaim, with an optional language tag.- Parameters:
name- The full name. Ifnullthe claim will be removed.langTag- The language tag,nullif not specified.
-
getGivenName
public String getGivenName()
Gets the given or first name. Corresponds to thegiven_nameclaim, with no language tag.- Returns:
- The given or first name,
nullif not specified.
-
getGivenName
public String getGivenName(com.nimbusds.langtag.LangTag langTag)
Gets the given or first name. Corresponds to thegiven_nameclaim, with an optional language tag.- Parameters:
langTag- The language tag of the entry,nullto get the non-tagged entry.- Returns:
- The given or first name,
nullif not specified.
-
getGivenNameEntries
public Map<com.nimbusds.langtag.LangTag,String> getGivenNameEntries()
Gets the given or first name entries. Correspond to thegiven_nameclaim.- Returns:
- The given or first name entries, empty map if none.
-
setGivenName
public void setGivenName(String givenName)
Sets the given or first name. Corresponds to thegiven_nameclaim, with no language tag.- Parameters:
givenName- The given or first name. Ifnullthe claim will be removed.
-
setGivenName
public void setGivenName(String givenName, com.nimbusds.langtag.LangTag langTag)
Sets the given or first name. Corresponds to thegiven_nameclaim, with an optional language tag.- Parameters:
givenName- The given or first full name. Ifnullthe claim will be removed.langTag- The language tag,nullif not specified.
-
getFamilyName
public String getFamilyName()
Gets the surname or last name. Corresponds to thefamily_nameclaim, with no language tag.- Returns:
- The surname or last name,
nullif not specified.
-
getFamilyName
public String getFamilyName(com.nimbusds.langtag.LangTag langTag)
Gets the surname or last name. Corresponds to thefamily_nameclaim, with an optional language tag.- Parameters:
langTag- The language tag of the entry,nullto get the non-tagged entry.- Returns:
- The surname or last name,
nullif not specified.
-
getFamilyNameEntries
public Map<com.nimbusds.langtag.LangTag,String> getFamilyNameEntries()
Gets the surname or last name entries. Correspond to thefamily_nameclaim.- Returns:
- The surname or last name entries, empty map if none.
-
setFamilyName
public void setFamilyName(String familyName)
Sets the surname or last name. Corresponds to thefamily_nameclaim, with no language tag.- Parameters:
familyName- The surname or last name. Ifnullthe claim will be removed.
-
setFamilyName
public void setFamilyName(String familyName, com.nimbusds.langtag.LangTag langTag)
Sets the surname or last name. Corresponds to thefamily_nameclaim, with an optional language tag.- Parameters:
familyName- The surname or last name. Ifnullthe claim will be removed.langTag- The language tag,nullif not specified.
-
getMiddleName
public String getMiddleName()
Gets the middle name. Corresponds to themiddle_nameclaim, with no language tag.- Returns:
- The middle name,
nullif not specified.
-
getMiddleName
public String getMiddleName(com.nimbusds.langtag.LangTag langTag)
Gets the middle name. Corresponds to themiddle_nameclaim, with an optional language tag.- Parameters:
langTag- The language tag of the entry,nullto get the non-tagged entry.- Returns:
- The middle name,
nullif not specified.
-
getMiddleNameEntries
public Map<com.nimbusds.langtag.LangTag,String> getMiddleNameEntries()
Gets the middle name entries. Correspond to themiddle_nameclaim.- Returns:
- The middle name entries, empty map if none.
-
setMiddleName
public void setMiddleName(String middleName)
Sets the middle name. Corresponds to themiddle_nameclaim, with no language tag.- Parameters:
middleName- The middle name. Ifnullthe claim will be removed.
-
setMiddleName
public void setMiddleName(String middleName, com.nimbusds.langtag.LangTag langTag)
Sets the middle name. Corresponds to themiddle_nameclaim, with an optional language tag.- Parameters:
middleName- The middle name. Ifnullthe claim will be removed.langTag- The language tag,nullif not specified.
-
getNickname
public String getNickname()
Gets the casual name. Corresponds to thenicknameclaim, with no language tag.- Returns:
- The casual name,
nullif not specified.
-
getNickname
public String getNickname(com.nimbusds.langtag.LangTag langTag)
Gets the casual name. Corresponds to thenicknameclaim, with an optional language tag.- Parameters:
langTag- The language tag of the entry,nullto get the non-tagged entry.- Returns:
- The casual name,
nullif not specified.
-
getNicknameEntries
public Map<com.nimbusds.langtag.LangTag,String> getNicknameEntries()
Gets the casual name entries. Correspond to thenicknameclaim.- Returns:
- The casual name entries, empty map if none.
-
setNickname
public void setNickname(String nickname)
Sets the casual name. Corresponds to thenicknameclaim, with no language tag.- Parameters:
nickname- The casual name. Ifnullthe claim will be removed.
-
setNickname
public void setNickname(String nickname, com.nimbusds.langtag.LangTag langTag)
Sets the casual name. Corresponds to thenicknameclaim, with an optional language tag.- Parameters:
nickname- The casual name. Ifnullthe claim will be removed.langTag- The language tag,nullif not specified.
-
getPreferredUsername
public String getPreferredUsername()
Gets the preferred username. Corresponds to thepreferred_usernameclaim.- Returns:
- The preferred username,
nullif not specified.
-
setPreferredUsername
public void setPreferredUsername(String preferredUsername)
Sets the preferred username. Corresponds to thepreferred_usernameclaim.- Parameters:
preferredUsername- The preferred username. Ifnullthe claim will be removed.
-
getProfile
public URI getProfile()
Gets the profile page. Corresponds to theprofileclaim.- Returns:
- The profile page URI,
nullif not specified.
-
setProfile
public void setProfile(URI profile)
Sets the profile page. Corresponds to theprofileclaim.- Parameters:
profile- The profile page URI. Ifnullthe claim will be removed.
-
getPicture
public URI getPicture()
Gets the picture. Corresponds to thepictureclaim.- Returns:
- The picture URI,
nullif not specified.
-
setPicture
public void setPicture(URI picture)
Sets the picture. Corresponds to thepictureclaim.- Parameters:
picture- The picture URI. Ifnullthe claim will be removed.
-
getWebsite
public URI getWebsite()
Gets the web page or blog. Corresponds to thewebsiteclaim.- Returns:
- The web page or blog URI,
nullif not specified.
-
setWebsite
public void setWebsite(URI website)
Sets the web page or blog. Corresponds to thewebsiteclaim.- Parameters:
website- The web page or blog URI. Ifnullthe claim will be removed.
-
getEmail
@Deprecated public javax.mail.internet.InternetAddress getEmail()
Deprecated.Gets the preferred email address. Corresponds to theemailclaim.Use
getEmailAddress()instead.- Returns:
- The preferred email address,
nullif not specified.
-
setEmail
@Deprecated public void setEmail(javax.mail.internet.InternetAddress email)
Deprecated.Sets the preferred email address. Corresponds to theemailclaim.Use
setEmailAddress(String)instead.- Parameters:
email- The preferred email address. Ifnullthe claim will be removed.
-
getEmailAddress
public String getEmailAddress()
Gets the preferred email address. Corresponds to theemailclaim.- Returns:
- The preferred email address,
nullif not specified.
-
setEmailAddress
public void setEmailAddress(String email)
Sets the preferred email address. Corresponds to theemailclaim.- Parameters:
email- The preferred email address. Ifnullthe claim will be removed.
-
getEmailVerified
public Boolean getEmailVerified()
Gets the email verification status. Corresponds to theemail_verifiedclaim.- Returns:
- The email verification status,
nullif not specified.
-
setEmailVerified
public void setEmailVerified(Boolean emailVerified)
Sets the email verification status. Corresponds to theemail_verifiedclaim.- Parameters:
emailVerified- The email verification status. Ifnullthe claim will be removed.
-
getGender
public Gender getGender()
Gets the gender. Corresponds to thegenderclaim.- Returns:
- The gender,
nullif not specified.
-
setGender
public void setGender(Gender gender)
Sets the gender. Corresponds to thegenderclaim.- Parameters:
gender- The gender. Ifnullthe claim will be removed.
-
getBirthdate
public String getBirthdate()
Gets the date of birth. Corresponds to thebirthdateclaim.- Returns:
- The date of birth,
nullif not specified.
-
setBirthdate
public void setBirthdate(String birthdate)
Sets the date of birth. Corresponds to thebirthdateclaim.- Parameters:
birthdate- The date of birth. Ifnullthe claim will be removed.
-
getZoneinfo
public String getZoneinfo()
Gets the zoneinfo. Corresponds to thezoneinfoclaim.- Returns:
- The zoneinfo,
nullif not specified.
-
setZoneinfo
public void setZoneinfo(String zoneinfo)
Sets the zoneinfo. Corresponds to thezoneinfoclaim.- Parameters:
zoneinfo- The zoneinfo. Ifnullthe claim will be removed.
-
getLocale
public String getLocale()
Gets the locale. Corresponds to thelocaleclaim.- Returns:
- The locale,
nullif not specified.
-
setLocale
public void setLocale(String locale)
Sets the locale. Corresponds to thelocaleclaim.- Parameters:
locale- The locale. Ifnullthe claim will be removed.
-
getPhoneNumber
public String getPhoneNumber()
Gets the preferred telephone number. Corresponds to thephone_numberclaim.- Returns:
- The preferred telephone number,
nullif not specified.
-
setPhoneNumber
public void setPhoneNumber(String phoneNumber)
Sets the preferred telephone number. Corresponds to thephone_numberclaim.- Parameters:
phoneNumber- The preferred telephone number. Ifnullthe claim will be removed.
-
getPhoneNumberVerified
public Boolean getPhoneNumberVerified()
Gets the phone number verification status. Corresponds to thephone_number_verifiedclaim.- Returns:
- The phone number verification status,
nullif not specified.
-
setPhoneNumberVerified
public void setPhoneNumberVerified(Boolean phoneNumberVerified)
Sets the email verification status. Corresponds to thephone_number_verifiedclaim.- Parameters:
phoneNumberVerified- The phone number verification status. Ifnullthe claim will be removed.
-
getAddress
public Address getAddress()
Gets the preferred address. Corresponds to theaddressclaim, with no language tag.- Returns:
- The preferred address,
nullif not specified.
-
getAddress
public Address getAddress(com.nimbusds.langtag.LangTag langTag)
Gets the preferred address. Corresponds to theaddressclaim, with an optional language tag.- Parameters:
langTag- The language tag of the entry,nullto get the non-tagged entry.- Returns:
- The preferred address,
nullif not specified.
-
getAddressEntries
public Map<com.nimbusds.langtag.LangTag,Address> getAddressEntries()
Gets the preferred address entries. Correspond to theaddressclaim.- Returns:
- The preferred address entries, empty map if none.
-
setAddress
public void setAddress(Address address)
Sets the preferred address. Corresponds to theaddressclaim, with no language tag.- Parameters:
address- The preferred address. Ifnullthe claim will be removed.
-
setAddress
public void setAddress(Address address, com.nimbusds.langtag.LangTag langTag)
Sets the preferred address. Corresponds to theaddressclaim, with an optional language tag.- Parameters:
address- The preferred address. Ifnullthe claim will be removed.langTag- The language tag,nullif not specified.
-
getUpdatedTime
public Date getUpdatedTime()
Gets the time the end-user information was last updated. Corresponds to theupdated_atclaim.- Returns:
- The time the end-user information was last updated,
nullif not specified.
-
setUpdatedTime
public void setUpdatedTime(Date updatedTime)
Sets the time the end-user information was last updated. Corresponds to theupdated_atclaim.- Parameters:
updatedTime- The time the end-user information was last updated. Ifnullthe claim will be removed.
-
getBirthplace
public Birthplace getBirthplace()
Gets the birthplace. Corresponds to thebirthplaceclaim from OpenID Connect for Identity Assurance 1.0.- Returns:
- The birthplace,
nullif not specified.
-
setBirthplace
public void setBirthplace(Birthplace birthplace)
Sets the birthplace. Corresponds to thebirthplaceclaim from OpenID Connect for Identity Assurance 1.0.- Parameters:
birthplace- The birthplace,nullif not specified.
-
getNationalities
public List<CountryCode> getNationalities()
Gets the user's nationalities. Corresponds to thenationalitiesclaim from OpenID Connect for Identity Assurance 1.0.- Returns:
- The nationalities,
nullif not specified or parsing failed.
-
setNationalities
public void setNationalities(List<CountryCode> nationalities)
Sets the user's nationalities. Corresponds to thenationalitiesclaim from OpenID Connect for Identity Assurance 1.0.- Parameters:
nationalities- The nationalities,nullif not specified.
-
getBirthFamilyName
public String getBirthFamilyName()
Gets the birth family name. Corresponds to thebirth_family_nameclaim from OpenID Connect for Identity Assurance 1.0, with no language tag.- Returns:
- The birth family name,
nullif not specified.
-
getBirthFamilyName
public String getBirthFamilyName(com.nimbusds.langtag.LangTag langTag)
Gets the birth family name. Corresponds to thebirth_family_nameclaim from OpenID Connect for Identity Assurance 1.0, with an optional language tag.- Parameters:
langTag- The language tag of the entry,nullto get the non-tagged entry.- Returns:
- The birth family name,
nullif not specified.
-
getBirthFamilyNameEntries
public Map<com.nimbusds.langtag.LangTag,String> getBirthFamilyNameEntries()
Gets the birth family name entries. Correspond to thebirth_family_nameclaim from OpenID Connect for Identity Assurance 1.0.- Returns:
- The birth family name entries, empty map if none.
-
setBirthFamilyName
public void setBirthFamilyName(String birthFamilyName)
Sets the birth family name. Corresponds to thebirth_family_nameclaim from OpenID Connect for Identity Assurance 1.0, with no language tag.- Parameters:
birthFamilyName- The birth family name,nullif not specified.
-
setBirthFamilyName
public void setBirthFamilyName(String birthFamilyName, com.nimbusds.langtag.LangTag langTag)
Sets the birth family name. Corresponds to thebirth_family_nameclaim from OpenID Connect for Identity Assurance 1.0, with an optional language tag.- Parameters:
birthFamilyName- The birth family name. Ifnullthe claim will be removed.langTag- The language tag,nullif not specified.
-
getBirthGivenName
public String getBirthGivenName()
Gets the birth given name. Corresponds to thebirth_given_nameclaim from OpenID Connect for Identity Assurance 1.0, with no language tag.- Returns:
- The birth given name,
nullif not specified.
-
getBirthGivenName
public String getBirthGivenName(com.nimbusds.langtag.LangTag langTag)
Gets the birth given name. Corresponds to thebirth_given_nameclaim from OpenID Connect for Identity Assurance 1.0, with an optional language tag.- Parameters:
langTag- The language tag of the entry,nullto get the non-tagged entry.- Returns:
- The birth given name,
nullif not specified.
-
getBirthGivenNameEntries
public Map<com.nimbusds.langtag.LangTag,String> getBirthGivenNameEntries()
Gets the birth given name entries. Correspond to thebirth_given_nameclaim from OpenID Connect for Identity Assurance 1.0.- Returns:
- The birth given name entries, empty map if none.
-
setBirthGivenName
public void setBirthGivenName(String birthGivenName)
Sets the birth given name. Corresponds to thebirth_given_nameclaim from OpenID Connect for Identity Assurance 1.0.- Parameters:
birthGivenName- The birth given name,nullif not specified.
-
setBirthGivenName
public void setBirthGivenName(String birthGivenName, com.nimbusds.langtag.LangTag langTag)
Sets the birth given name. Corresponds to thebirth_given_nameclaim from OpenID Connect for Identity Assurance 1.0, with an optional language tag.- Parameters:
birthGivenName- The birth given name. Ifnullthe claim will be removed.langTag- The language tag,nullif not specified.
-
getBirthMiddleName
public String getBirthMiddleName()
Gets the birth middle name. Corresponds to thebirth_middle_nameclaim from OpenID Connect for Identity Assurance 1.0, with no language tag.- Returns:
- The birth middle name,
nullif not specified.
-
getBirthMiddleName
public String getBirthMiddleName(com.nimbusds.langtag.LangTag langTag)
Gets the birth middle name. Corresponds to thebirth_middle_nameclaim from OpenID Connect for Identity Assurance 1.0, with an optional language tag.- Parameters:
langTag- The language tag of the entry,nullto get the non-tagged entry.- Returns:
- The birth middle name,
nullif not specified.
-
getBirthMiddleNameEntries
public Map<com.nimbusds.langtag.LangTag,String> getBirthMiddleNameEntries()
Gets the birth middle name entries. Correspond to thebirth_middle_nameclaim from OpenID Connect for Identity Assurance 1.0.- Returns:
- The birth middle name entries, empty map if none.
-
setBirthMiddleName
public void setBirthMiddleName(String birthMiddleName)
Sets the birth middle name. Corresponds to thebirth_middle_nameclaim from OpenID Connect for Identity Assurance 1.0.- Parameters:
birthMiddleName- The birth middle name,nullif not specified.
-
setBirthMiddleName
public void setBirthMiddleName(String birthMiddleName, com.nimbusds.langtag.LangTag langTag)
Sets the birth middle name. Corresponds to thebirth_middle_nameclaim from OpenID Connect for Identity Assurance 1.0, with an optional language tag.- Parameters:
birthMiddleName- The birth middle name. Ifnullthe claim will be removed.langTag- The language tag,nullif not specified.
-
getSalutation
public String getSalutation()
Gets the salutation. Corresponds to thesalutationclaim from OpenID Connect for Identity Assurance 1.0, with no language tag.- Returns:
- The salutation,
nullif not specified.
-
getSalutation
public String getSalutation(com.nimbusds.langtag.LangTag langTag)
Gets the salutation. Corresponds to thesalutationclaim from OpenID Connect for Identity Assurance 1.0, with an optional language tag.- Parameters:
langTag- The language tag of the entry,nullto get the non-tagged entry.- Returns:
- The salutation,
nullif not specified.
-
getSalutationEntries
public Map<com.nimbusds.langtag.LangTag,String> getSalutationEntries()
Gets the salutation entries. Correspond to thesalutationclaim from OpenID Connect for Identity Assurance 1.0.- Returns:
- The salutation entries, empty map if none.
-
setSalutation
public void setSalutation(String salutation)
Sets the salutation. Corresponds to thesalutationclaim from OpenID Connect for Identity Assurance 1.0.- Parameters:
salutation- The salutation,nullif not specified.
-
setSalutation
public void setSalutation(String salutation, com.nimbusds.langtag.LangTag langTag)
Sets the salutation. Corresponds to thesalutationclaim from OpenID Connect for Identity Assurance 1.0, with an optional language tag.- Parameters:
salutation- The salutation. Ifnullthe claim will be removed.langTag- The language tag,nullif not specified.
-
getTitle
public String getTitle()
Gets the title. Corresponds to thetitleclaim from OpenID Connect for Identity Assurance 1.0, with no language tag.- Returns:
- The salutation,
nullif not specified.
-
getTitle
public String getTitle(com.nimbusds.langtag.LangTag langTag)
Gets the title. Corresponds to thetitleclaim from OpenID Connect for Identity Assurance 1.0, with an optional language tag.- Parameters:
langTag- The language tag of the entry,nullto get the non-tagged entry.- Returns:
- The title,
nullif not specified.
-
getTitleEntries
public Map<com.nimbusds.langtag.LangTag,String> getTitleEntries()
Gets the title entries. Correspond to thetitleclaim from OpenID Connect for Identity Assurance 1.0.- Returns:
- The title entries, empty map if none.
-
setTitle
public void setTitle(String title)
Sets the title. Corresponds to thetitleclaim from OpenID Connect for Identity Assurance 1.0.- Parameters:
title- The title,nullif not specified.
-
setTitle
public void setTitle(String title, com.nimbusds.langtag.LangTag langTag)
Sets the title. Corresponds to thetitleclaim from OpenID Connect for Identity Assurance 1.0, with an optional language tag.- Parameters:
title- The title. Ifnullthe claim will be removed.langTag- The language tag,nullif not specified.
-
-