public sealed class TokenOptions : IMessage<TokenOptions>, IEquatable<TokenOptions>, IDeepCloneable<TokenOptions>, IBufferMessage, IMessage
Reference documentation and code samples for the Confidential Computing v1 API class TokenOptions.
Options to modify claims in the token to generate custom-purpose tokens.
Implements
IMessageTokenOptions, IEquatableTokenOptions, IDeepCloneableTokenOptions, IBufferMessage, IMessageNamespace
Google.Cloud.ConfidentialComputing.V1Assembly
Google.Cloud.ConfidentialComputing.V1.dll
Constructors
TokenOptions()
public TokenOptions()
TokenOptions(TokenOptions)
public TokenOptions(TokenOptions other)
Parameter | |
---|---|
Name | Description |
other | TokenOptions |
Properties
Audience
public string Audience { get; set; }
Optional. Optional string to issue the token with a custom audience claim. Required if one or more nonces are specified.
Property Value | |
---|---|
Type | Description |
string |
Nonce
public RepeatedField<string> Nonce { get; }
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.
Property Value | |
---|---|
Type | Description |
RepeatedFieldstring |