Class: Google::Cloud::ConfidentialComputing::V1::TokenOptions

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/confidentialcomputing/v1/service.rb

Overview

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

Instance Attribute Summary collapse

Instance Attribute Details

#audience::String

Returns 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.



125
126
127
128
# File 'proto_docs/google/cloud/confidentialcomputing/v1/service.rb', line 125

class TokenOptions
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#nonce::Array<::String>

Returns 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.



125
126
127
128
# File 'proto_docs/google/cloud/confidentialcomputing/v1/service.rb', line 125

class TokenOptions
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#token_type::Google::Cloud::ConfidentialComputing::V1::TokenType

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

Returns:



125
126
127
128
# File 'proto_docs/google/cloud/confidentialcomputing/v1/service.rb', line 125

class TokenOptions
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end