[[["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 webpage details the \u003ccode\u003eJsonWebToken.Header\u003c/code\u003e class, which is a component of the Google.Apis.Auth library and represents the header of a JSON Web Token (JWT).\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eJsonWebToken.Header\u003c/code\u003e class inherits from the base \u003ccode\u003eobject\u003c/code\u003e class and offers properties to manage the \u003ccode\u003eContentType\u003c/code\u003e and \u003ccode\u003eType\u003c/code\u003e parameters of the JWT header.\u003c/p\u003e\n"],["\u003cp\u003eSeveral versions of the \u003ccode\u003eJsonWebToken.Header\u003c/code\u003e class are documented, including versions 1.69.0 (latest), 1.68.0, 1.60.0, 1.59.0, 1.55.0, and 1.50.0.\u003c/p\u003e\n"],["\u003cp\u003eThe page contains links to relevant documentation about the inhereted \u003ccode\u003eobject\u003c/code\u003e class, as well as links to the \u003ccode\u003eJsonWebSignature.Header\u003c/code\u003e derived type, the \u003ccode\u003eGoogle.Apis.Auth\u003c/code\u003e namespace, and the \u003ccode\u003eGoogle.Apis.Auth.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eThe webpage highlights the use of an extension method called \u003ccode\u003eUtilities.ThrowIfNull<T>(T, string)\u003c/code\u003e within this object, which is used to check for \u003ccode\u003enull\u003c/code\u003e values.\u003c/p\u003e\n"]]],[],null,["# Class JsonWebToken.Header (1.69.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.69.0 (latest)](/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Auth.JsonWebToken.Header)\n- [1.68.0](/dotnet/docs/reference/Google.Apis/1.68.0/Google.Apis.Auth.JsonWebToken.Header)\n- [1.60.0](/dotnet/docs/reference/Google.Apis/1.60.0/Google.Apis.Auth.JsonWebToken.Header)\n- [1.59.0](/dotnet/docs/reference/Google.Apis/1.59.0/Google.Apis.Auth.JsonWebToken.Header)\n- [1.55.0](/dotnet/docs/reference/Google.Apis/1.55.0/Google.Apis.Auth.JsonWebToken.Header)\n- [1.50.0](/dotnet/docs/reference/Google.Apis/1.50.0/Google.Apis.Auth.JsonWebToken.Header) \n\n public class JsonWebToken.Header\n\nJWT Header as specified in \u003chttp://tools.ietf.org/html/draft-ietf-oauth-json-web-token-08#section-5\u003e. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e JsonWebToken.Header \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.Header](/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Auth.JsonWebSignature.Header)\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### ContentType\n\n [JsonProperty(\"cty\")]\n public string ContentType { get; set; }\n\nGets or sets content type header parameter used to declare structural information about the JWT or\n`null`.\n\n### Type\n\n [JsonProperty(\"typ\")]\n public string Type { get; set; }\n\nGets or sets type header parameter used to declare the type of this object or `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_)"]]