ACPex.Schema.Connection.AuthenticateRequest (ACPex v0.1.0)
View SourceRequest to authenticate with the agent.
Sent by the client if the agent requires authentication (as indicated by
auth_methods
in the InitializeResponse).
Required Fields
method_id
- The ID of the authentication method to use (string)
Optional Fields
meta
- Additional metadata (map)
Example
%ACPex.Schema.Connection.AuthenticateRequest{
method_id: "api_key"
}
JSON Representation
{
"methodId": "api_key"
}
Summary
Functions
Creates a changeset for validation.
Types
Functions
@spec changeset(t(), map()) :: Ecto.Changeset.t()
Creates a changeset for validation.
Required Fields
method_id
- Must be present