Skip to content

AuthMethodAgent

Base classes

Name Children Inherits
AnnotatedObject
aclientp.schema.v2.base
A v2 object with the ``_meta`` extension point.

⋔ Inheritance diagram

graph TD
  95970868630912["auth.AuthMethodAgent"]
  95970868359040["base.AnnotatedObject"]
  95970855946400["base.Schema"]
  95970851503232["main.BaseModel"]
  125067848591872["builtins.object"]
  95970868359040 --> 95970868630912
  95970855946400 --> 95970868359040
  95970851503232 --> 95970855946400
  125067848591872 --> 95970851503232

🛈 DocStrings

Bases: AnnotatedObject

Agent handles authentication itself through auth/login.

Source code in src/aclientp/schema/v2/auth.py
class AuthMethodAgent(AnnotatedObject):
    """Agent handles authentication itself through ``auth/login``."""

    type: Literal["agent"] = Field(default="agent", init=False)

    method_id: AuthMethodId
    """Unique identifier for this authentication method."""

    name: str
    """Human-readable name of the authentication method."""

    description: str | MISSING | None = MISSING
    """Optional human-readable description of this authentication method."""

description class-attribute instance-attribute

description: str | MISSING | None = MISSING

Optional human-readable description of this authentication method.

method_id instance-attribute

method_id: AuthMethodId

Unique identifier for this authentication method.

name instance-attribute

name: str

Human-readable name of the authentication method.

:fa-brands-github: Show source on GitHub