[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[[["\u003cp\u003eThis document provides details on the Google.Apis.Auth library, including various classes for handling JSON Web Tokens (JWT) and JSON Web Signatures (JWS).\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the library available is 1.69.0, with other documented versions available for 1.68.0, 1.60.0, 1.59.0, 1.55.0, and 1.50.0.\u003c/p\u003e\n"],["\u003cp\u003eThe library includes classes for managing JWT components like Header and Payload, as well as classes for Google-specific implementations like GoogleJsonWebSignature and its associated elements.\u003c/p\u003e\n"],["\u003cp\u003eIt contains exception handling with the InvalidJwtException, which is raised when a JWT is invalid.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation references various specifications for JWS and JWT, including those from IETF, OpenID Connect, and Google's OAuth2 Service Account documentation.\u003c/p\u003e\n"]]],[],null,["# Namespace Google.Apis.Auth (1.69.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.69.0 (latest)](/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Auth)\n- [1.68.0](/dotnet/docs/reference/Google.Apis/1.68.0/Google.Apis.Auth)\n- [1.60.0](/dotnet/docs/reference/Google.Apis/1.60.0/Google.Apis.Auth)\n- [1.59.0](/dotnet/docs/reference/Google.Apis/1.59.0/Google.Apis.Auth)\n- [1.55.0](/dotnet/docs/reference/Google.Apis/1.55.0/Google.Apis.Auth)\n- [1.50.0](/dotnet/docs/reference/Google.Apis/1.50.0/Google.Apis.Auth) \n\nClasses\n-------\n\n### [GoogleJsonWebSignature](/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Auth.GoogleJsonWebSignature)\n\nGoogle JSON Web Signature as specified in \u003chttps://developers.google.com/accounts/docs/OAuth2ServiceAccount\u003e.\n\n### [GoogleJsonWebSignature.Header](/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Auth.GoogleJsonWebSignature.Header)\n\nThe header as specified in \u003chttps://developers.google.com/accounts/docs/OAuth2ServiceAccount#formingheader\u003e.\n\n### [GoogleJsonWebSignature.Payload](/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Auth.GoogleJsonWebSignature.Payload)\n\nThe payload as specified in\n\u003chttps://developers.google.com/accounts/docs/OAuth2ServiceAccount#formingclaimset\u003e,\n\u003chttps://developers.google.com/identity/protocols/OpenIDConnect\u003e, and\n\u003chttps://openid.net/specs/openid-connect-core-1_0.html#StandardClaims\u003e\n\n### [GoogleJsonWebSignature.ValidationSettings](/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Auth.GoogleJsonWebSignature.ValidationSettings)\n\nSettings used when validating a JSON Web Signature.\n\n### [InvalidJwtException](/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Auth.InvalidJwtException)\n\nAn exception that is thrown when a Json Web Token (JWT) is invalid.\n\n### [JsonWebSignature](/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Auth.JsonWebSignature)\n\nJSON Web Signature (JWS) implementation as specified in\n\u003chttp://tools.ietf.org/html/draft-ietf-jose-json-web-signature-11\u003e.\n\n### [JsonWebSignature.Header](/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Auth.JsonWebSignature.Header)\n\nHeader as specified in \u003chttp://tools.ietf.org/html/draft-ietf-jose-json-web-signature-11#section-4.1\u003e.\n\n### [JsonWebSignature.Payload](/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Auth.JsonWebSignature.Payload)\n\nJWS Payload.\n\n### [JsonWebToken](/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Auth.JsonWebToken)\n\nJSON Web Token (JWT) implementation as specified in\n\u003chttp://tools.ietf.org/html/draft-ietf-oauth-json-web-token-08\u003e.\n\n### [JsonWebToken.Header](/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Auth.JsonWebToken.Header)\n\nJWT Header as specified in \u003chttp://tools.ietf.org/html/draft-ietf-oauth-json-web-token-08#section-5\u003e.\n\n### [JsonWebToken.Payload](/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Auth.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\n### [SignedTokenVerificationOptions](/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Auth.SignedTokenVerificationOptions)\n\nOptions to use when verifying signed JWTs."]]