Optional. Optional parameter to place one or more nonces in the eat_nonce
claim in the output token. The minimum size for JSON-encoded EATs is 10
bytes and the maximum size is 74 bytes.
[[["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\u003eThe \u003ccode\u003eTokenOptions\u003c/code\u003e class in the Google.Cloud.ConfidentialComputing.V1 API allows modification of claims in tokens for custom purposes.\u003c/p\u003e\n"],["\u003cp\u003eThis class is part of the Confidential Computing v1 API, with version 1.8.0 being the latest available, and has various versions dating back to 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eTokenOptions\u003c/code\u003e inherits from the \u003ccode\u003eobject\u003c/code\u003e class and implements \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e interfaces.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers properties like \u003ccode\u003eAudience\u003c/code\u003e, \u003ccode\u003eAwsPrincipalTagsOptions\u003c/code\u003e, \u003ccode\u003eNonce\u003c/code\u003e, \u003ccode\u003eTokenType\u003c/code\u003e, and \u003ccode\u003eTokenTypeOptionsCase\u003c/code\u003e to customize token claims and types.\u003c/p\u003e\n"],["\u003cp\u003eThe token output is configurable with options such as audience claims, nonces, and selection of token type.\u003c/p\u003e\n"]]],[],null,["# Confidential Computing v1 API - Class TokenOptions (1.8.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.8.0 (latest)](/dotnet/docs/reference/Google.Cloud.ConfidentialComputing.V1/latest/Google.Cloud.ConfidentialComputing.V1.TokenOptions)\n- [1.7.0](/dotnet/docs/reference/Google.Cloud.ConfidentialComputing.V1/1.7.0/Google.Cloud.ConfidentialComputing.V1.TokenOptions)\n- [1.6.0](/dotnet/docs/reference/Google.Cloud.ConfidentialComputing.V1/1.6.0/Google.Cloud.ConfidentialComputing.V1.TokenOptions)\n- [1.5.0](/dotnet/docs/reference/Google.Cloud.ConfidentialComputing.V1/1.5.0/Google.Cloud.ConfidentialComputing.V1.TokenOptions)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.ConfidentialComputing.V1/1.4.0/Google.Cloud.ConfidentialComputing.V1.TokenOptions)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.ConfidentialComputing.V1/1.3.0/Google.Cloud.ConfidentialComputing.V1.TokenOptions)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.ConfidentialComputing.V1/1.2.0/Google.Cloud.ConfidentialComputing.V1.TokenOptions)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.ConfidentialComputing.V1/1.1.0/Google.Cloud.ConfidentialComputing.V1.TokenOptions)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.ConfidentialComputing.V1/1.0.0/Google.Cloud.ConfidentialComputing.V1.TokenOptions) \n\n public sealed class TokenOptions : IMessage\u003cTokenOptions\u003e, IEquatable\u003cTokenOptions\u003e, IDeepCloneable\u003cTokenOptions\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Confidential Computing v1 API class TokenOptions.\n\nOptions to modify claims in the token to generate custom-purpose tokens. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e TokenOptions \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[TokenOptions](/dotnet/docs/reference/Google.Cloud.ConfidentialComputing.V1/latest/Google.Cloud.ConfidentialComputing.V1.TokenOptions), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[TokenOptions](/dotnet/docs/reference/Google.Cloud.ConfidentialComputing.V1/latest/Google.Cloud.ConfidentialComputing.V1.TokenOptions), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[TokenOptions](/dotnet/docs/reference/Google.Cloud.ConfidentialComputing.V1/latest/Google.Cloud.ConfidentialComputing.V1.TokenOptions), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\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.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.ConfidentialComputing.V1](/dotnet/docs/reference/Google.Cloud.ConfidentialComputing.V1/latest/Google.Cloud.ConfidentialComputing.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.ConfidentialComputing.V1.dll\n\nConstructors\n------------\n\n### TokenOptions()\n\n public TokenOptions()\n\n### TokenOptions(TokenOptions)\n\n public TokenOptions(TokenOptions other)\n\nProperties\n----------\n\n### Audience\n\n public string Audience { get; set; }\n\nOptional. Optional string to issue the token with a custom audience claim.\nRequired if one or more nonces are specified.\n\n### AwsPrincipalTagsOptions\n\n public TokenOptions.Types.AwsPrincipalTagsOptions AwsPrincipalTagsOptions { get; set; }\n\nOptional. Options for the Limited AWS token type.\n\n### Nonce\n\n public RepeatedField\u003cstring\u003e Nonce { get; }\n\nOptional. Optional parameter to place one or more nonces in the eat_nonce\nclaim in the output token. The minimum size for JSON-encoded EATs is 10\nbytes and the maximum size is 74 bytes.\n\n### TokenType\n\n public TokenType TokenType { get; set; }\n\nOptional. Optional token type to select what type of token to return.\n\n### TokenTypeOptionsCase\n\n public TokenOptions.TokenTypeOptionsOneofCase TokenTypeOptionsCase { get; }"]]