public class OidcIdToken extends AbstractOAuth2Token implements IdTokenClaimAccessor
AbstractOAuth2Token representing an OpenID Connect Core 1.0 ID Token.
The OidcIdToken is a security token that contains "claims"
about the authentication of an End-User by an Authorization Server.
AbstractOAuth2Token,
IdTokenClaimAccessor,
StandardClaimAccessor,
ID Token,
Standard Claims,
Serialized Form| Constructor and Description |
|---|
OidcIdToken(java.lang.String tokenValue,
java.time.Instant issuedAt,
java.time.Instant expiresAt,
java.util.Map<java.lang.String,java.lang.Object> claims)
Constructs a
OidcIdToken using the provided parameters. |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,java.lang.Object> |
getClaims()
Returns a set of claims that may be used for assertions.
|
equals, getExpiresAt, getIssuedAt, getTokenValue, hashCodeclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetAccessTokenHash, getAudience, getAuthenticatedAt, getAuthenticationContextClass, getAuthenticationMethods, getAuthorizationCodeHash, getAuthorizedParty, getExpiresAt, getIssuedAt, getIssuer, getNonce, getSubjectgetAddress, getBirthdate, getEmail, getEmailVerified, getFamilyName, getFullName, getGender, getGivenName, getLocale, getMiddleName, getNickName, getPhoneNumber, getPhoneNumberVerified, getPicture, getPreferredUsername, getProfile, getUpdatedAt, getWebsite, getZoneInfocontainsClaim, getClaim, getClaimAsBoolean, getClaimAsInstant, getClaimAsMap, getClaimAsString, getClaimAsStringList, getClaimAsURLpublic OidcIdToken(java.lang.String tokenValue,
java.time.Instant issuedAt,
java.time.Instant expiresAt,
java.util.Map<java.lang.String,java.lang.Object> claims)
OidcIdToken using the provided parameters.tokenValue - the ID Token valueissuedAt - the time at which the ID Token was issued (iat)expiresAt - the expiration time (exp) on or after which the ID Token MUST NOT be acceptedclaims - the claims about the authentication of the End-Userpublic java.util.Map<java.lang.String,java.lang.Object> getClaims()
ClaimAccessorgetClaims in interface ClaimAccessorMap of claims