struct ACP::Protocol::AuthMethod

Overview

Describes an available authentication method. See: https://agentclientprotocol.com/protocol/initialization

Included Modules

Defined in:

acp/protocol/capabilities.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(id : String, name : String, description : String | Nil = nil, meta : Hash(String, JSON::Any) | Nil = nil) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def description : String | Nil #

Optional description providing more details.


[View source]
def description=(description : String | Nil) #

Optional description providing more details.


[View source]
def id : String #

Unique identifier for this authentication method.


[View source]
def id=(id : String) #

Unique identifier for this authentication method.


[View source]
def meta : Hash(String, JSON::Any) | Nil #

Extension metadata.


[View source]
def meta=(meta : Hash(String, JSON::Any) | Nil) #

Extension metadata.


[View source]
def name : String #

Human-readable name of the authentication method.


[View source]
def name=(name : String) #

Human-readable name of the authentication method.


[View source]