Gets or sets expiration time claim that identifies the expiration time (in seconds) on or after which
the token MUST NOT be accepted for processing or null.
The nonce value specified by the client during the authorization request.
Must be present if a nonce was specified in the authorization request, otherwise this will not be present.
Gets or sets the target audience claim that identifies the audience that an OIDC token generated from
this JWT is intended for. Maybe be null. Multiple target audiences are not supported.
null.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis document outlines the \u003ccode\u003eJsonWebToken.Payload\u003c/code\u003e class, which represents the JWT payload as specified in the IETF draft, \u003ccode\u003ehttp://tools.ietf.org/html/draft-ietf-oauth-json-web-token-08#section-4.1\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eJsonWebToken.Payload\u003c/code\u003e class inherits from the \u003ccode\u003eobject\u003c/code\u003e class and has several inherited members, including \u003ccode\u003eEquals\u003c/code\u003e, \u003ccode\u003eGetHashCode\u003c/code\u003e, and \u003ccode\u003eToString\u003c/code\u003e, among others.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eJsonWebToken.Payload\u003c/code\u003e class include \u003ccode\u003eAudience\u003c/code\u003e, \u003ccode\u003eExpirationTimeSeconds\u003c/code\u003e, \u003ccode\u003eIssuer\u003c/code\u003e, and \u003ccode\u003eSubject\u003c/code\u003e, which define various claims within the JWT, such as intended audience, expiration time, and the issuer, respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAudience\u003c/code\u003e property, which can either be a string or a list, identifies the audience for which the JWT is intended, and \u003ccode\u003eAudienceAsList\u003c/code\u003e property gives the audience property as a list.\u003c/p\u003e\n"],["\u003cp\u003eThere are also multiple properties that identify different data sets, with properties such as \u003ccode\u003eJwtId\u003c/code\u003e, \u003ccode\u003eNonce\u003c/code\u003e, and \u003ccode\u003eTargetAudience\u003c/code\u003e, providing unique identifiers, nonce values, and target audience information.\u003c/p\u003e\n"]]],[],null,["# Class JsonWebToken.Payload (1.69.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.69.0 (latest)](/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Auth.JsonWebToken.Payload)\n- [1.68.0](/dotnet/docs/reference/Google.Apis/1.68.0/Google.Apis.Auth.JsonWebToken.Payload)\n- [1.60.0](/dotnet/docs/reference/Google.Apis/1.60.0/Google.Apis.Auth.JsonWebToken.Payload)\n- [1.59.0](/dotnet/docs/reference/Google.Apis/1.59.0/Google.Apis.Auth.JsonWebToken.Payload)\n- [1.55.0](/dotnet/docs/reference/Google.Apis/1.55.0/Google.Apis.Auth.JsonWebToken.Payload)\n- [1.50.0](/dotnet/docs/reference/Google.Apis/1.50.0/Google.Apis.Auth.JsonWebToken.Payload) \n\n public class JsonWebToken.Payload\n\nJWT Payload as specified in \u003chttp://tools.ietf.org/html/draft-ietf-oauth-json-web-token-08#section-4.1\u003e. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e JsonWebToken.Payload \n\nInherited Members\n-----------------\n\n[object.Equals(object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)) \n[object.Equals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)) \n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone) \n[object.ReferenceEquals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring) \n\nDerived Types\n-------------\n\n[JsonWebSignature.Payload](/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Auth.JsonWebSignature.Payload)\n\nNamespace\n---------\n\n[Google.Apis.Auth](/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Auth)\n\nAssembly\n--------\n\nGoogle.Apis.Auth.dll\n\nProperties\n----------\n\n### Audience\n\n [JsonProperty(\"aud\")]\n public object Audience { get; set; }\n\nGets or sets audience claim that identifies the audience that the JWT is intended for (should either be\na string or list) or `null`.\n\n### AudienceAsList\n\n [JsonIgnore]\n public IEnumerable\u003cstring\u003e AudienceAsList { get; }\n\nGets the audience property as a list.\n\n### ExpirationTimeSeconds\n\n [JsonProperty(\"exp\")]\n public long? ExpirationTimeSeconds { get; set; }\n\nGets or sets expiration time claim that identifies the expiration time (in seconds) on or after which\nthe token MUST NOT be accepted for processing or `null`.\n\n### IssuedAtTimeSeconds\n\n [JsonProperty(\"iat\")]\n public long? IssuedAtTimeSeconds { get; set; }\n\nGets or sets issued at claim that identifies the time (in seconds) at which the JWT was issued or\n`null`.\n\n### Issuer\n\n [JsonProperty(\"iss\")]\n public string Issuer { get; set; }\n\nGets or sets issuer claim that identifies the principal that issued the JWT or `null`.\n\n### JwtId\n\n [JsonProperty(\"jti\")]\n public string JwtId { get; set; }\n\nGets or sets JWT ID claim that provides a unique identifier for the JWT or `null`.\n\n### Nonce\n\n [JsonProperty(\"nonce\")]\n public string Nonce { get; set; }\n\nThe nonce value specified by the client during the authorization request.\nMust be present if a nonce was specified in the authorization request, otherwise this will not be present.\n\n### NotBeforeTimeSeconds\n\n [JsonProperty(\"nbf\")]\n public long? NotBeforeTimeSeconds { get; set; }\n\nGets or sets not before claim that identifies the time (in seconds) before which the token MUST NOT be\naccepted for processing or `null`.\n\n### Subject\n\n [JsonProperty(\"sub\")]\n public string Subject { get; set; }\n\nGets or sets subject claim identifying the principal that is the subject of the JWT or `null`.\n\n### TargetAudience\n\n [JsonProperty(\"target_audience\")]\n public string TargetAudience { get; set; }\n\nGets or sets the target audience claim that identifies the audience that an OIDC token generated from\nthis JWT is intended for. Maybe be null. Multiple target audiences are not supported.\n`null`.\n\n### Type\n\n [JsonProperty(\"typ\")]\n public string Type { get; set; }\n\nGets or sets type claim that is used to declare a type for the contents of this JWT Claims Set or\n`null`.\n\nExtension Method\n----------------\n\n[Utilities.ThrowIfNull\\\u003cT\\\u003e(T, string)](/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Util.Utilities#Google_Apis_Util_Utilities_ThrowIfNull__1___0_System_String_)"]]