Class: Google::Cloud::ConfidentialComputing::V1::TokenOptions
- Inherits:
-
Object
- Object
- Google::Cloud::ConfidentialComputing::V1::TokenOptions
- 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
-
#audience ⇒ ::String
Optional.
-
#nonce ⇒ ::Array<::String>
Optional.
-
#token_type ⇒ ::Google::Cloud::ConfidentialComputing::V1::TokenType
Optional.
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.
172 173 174 175 |
# File 'proto_docs/google/cloud/confidentialcomputing/v1/service.rb', line 172 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.
172 173 174 175 |
# File 'proto_docs/google/cloud/confidentialcomputing/v1/service.rb', line 172 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.
172 173 174 175 |
# File 'proto_docs/google/cloud/confidentialcomputing/v1/service.rb', line 172 class TokenOptions include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |