Package org.keycloak.representations
Class UserInfo
java.lang.Object
org.keycloak.representations.UserInfo
- Author:
- pedroigor
-
Field Summary
Modifier and TypeFieldDescriptionprotected AddressClaimSet
protected String[]
protected String
protected String
protected String
protected Boolean
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected Boolean
protected String
protected String
protected String
protected String
protected Long
protected String
protected String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionString[]
getEmail()
getName()
This is a map of any other claims and data that might be in the UserInfo.getSub()
boolean
hasAudience
(String audience) void
setAddress
(AddressClaimSet address) void
setAudience
(String... audience) void
setBirthdate
(String birthdate) void
setClaimsLocales
(String claimsLocales) void
void
setEmailVerified
(Boolean emailVerified) void
setFamilyName
(String familyName) void
void
setGivenName
(String givenName) void
void
void
setMiddleName
(String middleName) void
void
setNickName
(String nickName) void
setOtherClaims
(String name, Object value) void
setPhoneNumber
(String phoneNumber) void
setPhoneNumberVerified
(Boolean phoneNumberVerified) void
setPicture
(String picture) void
setPreferredUsername
(String preferredUsername) void
setProfile
(String profile) void
void
setSubject
(String subject) void
setUpdatedAt
(Long updatedAt) void
setWebsite
(String website) void
setZoneinfo
(String zoneinfo)
-
Field Details
-
issuer
-
audience
-
sub
-
name
-
givenName
-
familyName
-
middleName
-
nickName
-
preferredUsername
-
profile
-
picture
-
website
-
email
-
emailVerified
-
gender
-
birthdate
-
zoneinfo
-
locale
-
phoneNumber
-
phoneNumberVerified
-
address
-
updatedAt
-
claimsLocales
-
otherClaims
-
-
Constructor Details
-
UserInfo
public UserInfo()
-
-
Method Details
-
getIssuer
-
setIssuer
-
getAudience
-
hasAudience
-
setAudience
-
getSubject
-
setSubject
-
getName
-
setName
-
getGivenName
-
setGivenName
-
getFamilyName
-
setFamilyName
-
getMiddleName
-
setMiddleName
-
getNickName
-
setNickName
-
getPreferredUsername
-
setPreferredUsername
-
getProfile
-
setProfile
-
getPicture
-
setPicture
-
getWebsite
-
setWebsite
-
getEmail
-
setEmail
-
getEmailVerified
-
setEmailVerified
-
getGender
-
setGender
-
getBirthdate
-
setBirthdate
-
getZoneinfo
-
setZoneinfo
-
getLocale
-
setLocale
-
getPhoneNumber
-
setPhoneNumber
-
getPhoneNumberVerified
-
setPhoneNumberVerified
-
getAddress
-
setAddress
-
getUpdatedAt
-
setUpdatedAt
-
getSub
-
setSub
-
getClaimsLocales
-
setClaimsLocales
-
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
-