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()
int
Deprecated.int will overflow with values after 2038.getEmail()
getName()
getNonce()
void
setAccessTokenHash
(String accessTokenHash) void
void
setAddress
(AddressClaimSet address) void
setAuth_time
(Long auth_time) void
setAuthTime
(int authTime) Deprecated.int will overflow with values after 2038.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
setSessionState
(String sessionState) 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, expiration, getAudience, getExp, getExpiration, getIat, getId, getIssuedAt, getIssuedFor, getIssuer, getNbf, getNotBefore, getOtherClaims, getSubject, getType, hasAnyAudience, hasAudience, iat, id, isActive, isActive, isExpired, isIssuedBeforeSessionStart, isNotBefore, issuedAt, issuedFor, issuedNow, issuer, nbf, notBefore, 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
-
sessionState
-
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
-
getAuthTime
Deprecated.int will overflow with values after 2038. UsegetAuth_time()
instead. -
setAuth_time
-
setAuthTime
public void setAuthTime(int authTime) Deprecated.int will overflow with values after 2038. UsesetAuth_time(Long)
()} instead. -
getSessionId
-
getSessionState
-
setSessionState
-
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
-