Package org.keycloak.representations
Class IDToken
java.lang.Object
org.keycloak.representations.JsonWebToken
org.keycloak.representations.IDToken
- All Implemented Interfaces:
Serializable
,Token
- Direct Known Subclasses:
AccessToken
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected String
protected String
static final String
protected AddressClaimSet
static final String
static final String
protected Long
static final String
protected String
static final String
static final String
static final String
protected String
protected String
protected String
static final String
static final String
protected Boolean
static final String
protected String
protected String
static final String
static final String
protected String
protected String
static final String
static final String
protected String
protected String
static final String
protected String
static final String
protected String
static final String
static final String
static final String
protected String
protected Boolean
protected String
static final String
static final String
protected String
protected String
static final String
static final String
static final String
static final String
protected String
protected String
static final String
protected Long
protected String
static final String
protected String
static final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetAcr()
getEmail()
getName()
getNonce()
Deprecated.void
setAccessTokenHash
(String accessTokenHash) void
void
setAddress
(AddressClaimSet address) void
setAuth_time
(Long auth_time) void
setBirthdate
(String birthdate) void
setClaimsLocales
(String claimsLocales) void
setCodeHash
(String codeHash) void
void
setEmailVerified
(Boolean emailVerified) void
setFamilyName
(String familyName) void
void
setGivenName
(String givenName) void
void
setMiddleName
(String middleName) void
void
setNickName
(String nickName) void
void
setPhoneNumber
(String phoneNumber) void
setPhoneNumberVerified
(Boolean phoneNumberVerified) void
setPicture
(String picture) void
setPreferredUsername
(String preferredUsername) void
setProfile
(String profile) void
setSessionId
(String sessionId) void
setStateHash
(String stateHash) void
setUpdatedAt
(Long updatedAt) void
setWebsite
(String website) void
setZoneinfo
(String zoneinfo) Methods inherited from class org.keycloak.representations.JsonWebToken
addAudience, audience, exp, getAudience, getExp, getIat, getId, getIssuedFor, getIssuer, getNbf, getOtherClaims, getSubject, getType, hasAnyAudience, hasAudience, iat, id, isActive, isActive, isExpired, isIssuedBeforeSessionStart, isNotBefore, issuedFor, issuedNow, issuer, nbf, setOtherClaims, setSubject, subject, type
-
Field Details
-
NONCE
- See Also:
-
AUTH_TIME
- See Also:
-
SESSION_STATE
- See Also:
-
AT_HASH
- See Also:
-
C_HASH
- See Also:
-
NAME
- See Also:
-
GIVEN_NAME
- See Also:
-
FAMILY_NAME
- See Also:
-
MIDDLE_NAME
- See Also:
-
NICKNAME
- See Also:
-
PREFERRED_USERNAME
- See Also:
-
PROFILE
- See Also:
-
PICTURE
- See Also:
-
WEBSITE
- See Also:
-
EMAIL
- See Also:
-
EMAIL_VERIFIED
- See Also:
-
GENDER
- See Also:
-
BIRTHDATE
- See Also:
-
ZONEINFO
- See Also:
-
LOCALE
- See Also:
-
PHONE_NUMBER
- See Also:
-
PHONE_NUMBER_VERIFIED
- See Also:
-
ADDRESS
- See Also:
-
UPDATED_AT
- See Also:
-
CLAIMS_LOCALES
- See Also:
-
ACR
- See Also:
-
SESSION_ID
- See Also:
-
S_HASH
- See Also:
-
nonce
-
auth_time
-
sessionId
-
accessTokenHash
-
codeHash
-
name
-
givenName
-
familyName
-
middleName
-
nickName
-
preferredUsername
-
profile
-
picture
-
website
-
email
-
emailVerified
-
gender
-
birthdate
-
zoneinfo
-
locale
-
phoneNumber
-
phoneNumberVerified
-
address
-
updatedAt
-
claimsLocales
-
acr
-
stateHash
-
-
Constructor Details
-
IDToken
public IDToken()
-
-
Method Details
-
getNonce
-
setNonce
-
getAuth_time
-
setAuth_time
-
getSessionId
-
setSessionId
-
getSessionState
Deprecated.UsegetSessionId()
instead. -
getAccessTokenHash
-
setAccessTokenHash
-
getCodeHash
-
setCodeHash
-
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
-
getClaimsLocales
-
setClaimsLocales
-
getAcr
-
setAcr
-
getStateHash
-
setStateHash
-
getCategory
- Specified by:
getCategory
in interfaceToken
- Overrides:
getCategory
in classJsonWebToken
-
getSessionId()
instead.