Skip to content

AuthStatusResponse

Base classes

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

⋔ Inheritance diagram

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

🛈 DocStrings

Bases: AnnotatedObject

UNSTABLE: Response to the auth/status method.

Source code in src/aclientp/schema/v2/auth.py
class AuthStatusResponse(AnnotatedObject):
    """**UNSTABLE**: Response to the ``auth/status`` method."""

    state: AuthState
    """Whether the agent can start sessions without the user signing in first."""

    accounts: Sequence[AuthAccount] | MISSING = MISSING
    """The accounts the agent has configured, for display."""

accounts class-attribute instance-attribute

accounts: Sequence[AuthAccount] | MISSING = MISSING

The accounts the agent has configured, for display.

state instance-attribute

state: AuthState

Whether the agent can start sessions without the user signing in first.

:fa-brands-github: Show source on GitHub