Package net.openid.appauth
Class IdToken
- java.lang.Object
-
- net.openid.appauth.IdToken
-
public class IdToken extends Object
An OpenID Connect ID Token.Contains claims about the authentication of an End-User by an Authorization Server. Supports parsing ID Tokens from JWT Compact Serializations and validation according to the OpenID Connect specification.
- See Also:
“OpenID Connect Core ID Token, Section 2 http://openid.net/specs/openid-connect-core-1_0.html#IDToken”,“OpenID Connect Core ID Token Validation, Section 3.1.3.7 http://openid.net/specs/openid-connect-core-1_0.html#IDTokenValidation”
-
-
Field Summary
Fields Modifier and Type Field Description Map<String,Object>additionalClaimsAdditional claims present in this ID Token.List<String>audienceAudience(s) that this ID Token is intended for.StringauthorizedPartyAuthorized party - the party to which the ID Token was issued.LongexpirationExpiration time on or after which the ID Token MUST NOT be accepted for processing.LongissuedAtTime at which the JWT was issued.StringissuerIssuer Identifier for the Issuer of the response.StringnonceString value used to associate a Client session with an ID Token, and to mitigate replay attacks.StringsubjectSubject Identifier.
-
-
-
Field Detail
-
subject
@NonNull public final String subject
Subject Identifier.A locally unique and never reassigned identifier within the Issuer for the End-User.
-
audience
@NonNull public final List<String> audience
Audience(s) that this ID Token is intended for.
-
expiration
@NonNull public final Long expiration
Expiration time on or after which the ID Token MUST NOT be accepted for processing.
-
nonce
@Nullable public final String nonce
String value used to associate a Client session with an ID Token, and to mitigate replay attacks.
-
authorizedParty
@Nullable public final String authorizedParty
Authorized party - the party to which the ID Token was issued.If present, it MUST contain the OAuth 2.0 Client ID of this party.
-
additionalClaims
@NonNull public final Map<String,Object> additionalClaims
Additional claims present in this ID Token.
-
-