Confidential Computing v1 API - Class TokenOptions (1.1.0)

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.

Inheritance

object > TokenOptions

Namespace

Google.Cloud.ConfidentialComputing.V1

Assembly

Google.Cloud.ConfidentialComputing.V1.dll

Constructors

TokenOptions()

public TokenOptions()

TokenOptions(TokenOptions)

public TokenOptions(TokenOptions other)
Parameter
NameDescription
otherTokenOptions

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
TypeDescription
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
TypeDescription
RepeatedFieldstring

TokenType

public TokenType TokenType { get; set; }

Optional. Optional token type to select what type of token to return.

Property Value
TypeDescription
TokenType