Class: A2A::APIKeySecurityScheme
- Inherits:
-
SecuritySchemeBase
- Object
- Dry::Struct
- ProtocolStruct
- SecuritySchemeBase
- A2A::APIKeySecurityScheme
- Defined in:
- lib/a2a/types/api_key_security_scheme.rb
Overview
Defines a security scheme using an API key.
Instance Method Summary collapse
-
#in ⇒ String
The location of the API key.
-
#name ⇒ String
The name of the header, query, or cookie parameter to be used.
-
#type ⇒ String
The type of the security scheme.
Methods inherited from SecuritySchemeBase
Methods included from Extensions::CaseTransformation
Instance Method Details
#in ⇒ String
Returns The location of the API key.
10 |
# File 'lib/a2a/types/api_key_security_scheme.rb', line 10 attribute :in, Types::String.enum('query', 'header', 'cookie') |
#name ⇒ String
Returns The name of the header, query, or cookie parameter to be used.
13 |
# File 'lib/a2a/types/api_key_security_scheme.rb', line 13 attribute :name, Types::String |
#type ⇒ String
Returns The type of the security scheme. Must be ‘apiKey’.
7 |
# File 'lib/a2a/types/api_key_security_scheme.rb', line 7 attribute :type, Types::String.constant('apiKey') |