struct
ACP::Protocol::AuthMethod
- ACP::Protocol::AuthMethod
- Struct
- Value
- Object
Overview
Describes an available authentication method. See: https://agentclientprotocol.com/protocol/initialization
Included Modules
- JSON::Serializable
Defined in:
acp/protocol/capabilities.crConstructors
- .new(id : String, name : String, description : String | Nil = nil, meta : Hash(String, JSON::Any) | Nil = nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
-
#description : String | Nil
Optional description providing more details.
-
#description=(description : String | Nil)
Optional description providing more details.
-
#id : String
Unique identifier for this authentication method.
-
#id=(id : String)
Unique identifier for this authentication method.
-
#meta : Hash(String, JSON::Any) | Nil
Extension metadata.
-
#meta=(meta : Hash(String, JSON::Any) | Nil)
Extension metadata.
-
#name : String
Human-readable name of the authentication method.
-
#name=(name : String)
Human-readable name of the authentication method.
Constructor Detail
def self.new(id : String, name : String, description : String | Nil = nil, meta : Hash(String, JSON::Any) | Nil = nil)
#