public interface IdTokenClaimAccessor extends StandardClaimAccessor
ClaimAccessor for the "claims" that can be returned in the ID Token,
which provides information about the authentication of an End-User by an Authorization Server.ClaimAccessor,
StandardClaimAccessor,
StandardClaimNames,
IdTokenClaimNames,
OidcIdToken,
ID Token,
Standard Claims| Modifier and Type | Method and Description |
|---|---|
default java.lang.String |
getAccessTokenHash()
Returns the Access Token hash value
(at_hash). |
default java.util.List<java.lang.String> |
getAudience()
Returns the Audience(s)
(aud) that this ID Token is intended for. |
default java.time.Instant |
getAuthenticatedAt()
Returns the time when the End-User authentication occurred
(auth_time). |
default java.lang.String |
getAuthenticationContextClass()
Returns the Authentication Context Class Reference
(acr). |
default java.util.List<java.lang.String> |
getAuthenticationMethods()
Returns the Authentication Methods References
(amr). |
default java.lang.String |
getAuthorizationCodeHash()
Returns the Authorization Code hash value
(c_hash). |
default java.lang.String |
getAuthorizedParty()
Returns the Authorized party
(azp) to which the ID Token was issued. |
default java.time.Instant |
getExpiresAt()
Returns the Expiration time
(exp) on or after which the ID Token MUST NOT be accepted. |
default java.time.Instant |
getIssuedAt()
Returns the time at which the ID Token was issued
(iat). |
default java.net.URL |
getIssuer()
Returns the Issuer identifier
(iss). |
default java.lang.String |
getNonce()
Returns a
String value (nonce) used to associate a Client session with an ID Token,
and to mitigate replay attacks. |
default java.lang.String |
getSubject()
Returns the Subject identifier
(sub). |
getAddress, getBirthdate, getEmail, getEmailVerified, getFamilyName, getFullName, getGender, getGivenName, getLocale, getMiddleName, getNickName, getPhoneNumber, getPhoneNumberVerified, getPicture, getPreferredUsername, getProfile, getUpdatedAt, getWebsite, getZoneInfocontainsClaim, getClaim, getClaimAsBoolean, getClaimAsInstant, getClaimAsMap, getClaimAsString, getClaimAsStringList, getClaimAsURL, getClaimsdefault java.net.URL getIssuer()
(iss).default java.lang.String getSubject()
(sub).getSubject in interface StandardClaimAccessordefault java.util.List<java.lang.String> getAudience()
(aud) that this ID Token is intended for.default java.time.Instant getExpiresAt()
(exp) on or after which the ID Token MUST NOT be accepted.default java.time.Instant getIssuedAt()
(iat).default java.time.Instant getAuthenticatedAt()
(auth_time).default java.lang.String getNonce()
String value (nonce) used to associate a Client session with an ID Token,
and to mitigate replay attacks.default java.lang.String getAuthenticationContextClass()
(acr).default java.util.List<java.lang.String> getAuthenticationMethods()
(amr).default java.lang.String getAuthorizedParty()
(azp) to which the ID Token was issued.default java.lang.String getAccessTokenHash()
(at_hash).default java.lang.String getAuthorizationCodeHash()
(c_hash).