Confidential Computing V1 API - Class Google::Cloud::ConfidentialComputing::V1::TokenOptions (v0.4.0)

Reference documentation and code samples for the Confidential Computing V1 API class Google::Cloud::ConfidentialComputing::V1::TokenOptions.

Options to modify claims in the token to generate custom-purpose tokens.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#audience

def audience() -> ::String
Returns
  • (::String) — Optional. Optional string to issue the token with a custom audience claim. Required if one or more nonces are specified.

#audience=

def audience=(value) -> ::String
Parameter
  • value (::String) — Optional. Optional string to issue the token with a custom audience claim. Required if one or more nonces are specified.
Returns
  • (::String) — Optional. Optional string to issue the token with a custom audience claim. Required if one or more nonces are specified.

#nonce

def nonce() -> ::Array<::String>
Returns
  • (::Array<::String>) — 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.

#nonce=

def nonce=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — 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.
Returns
  • (::Array<::String>) — 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.