Skip to content

AuthStatusUpdateNotification

Base classes

Name Children Inherits
AnnotatedObject
aclientp.schema.base
Base class for generated models.

⋔ Inheritance diagram

graph TD
  95970860013632["notifications.AuthStatusUpdateNotification"]
  95970862258240["base.AnnotatedObject"]
  95970862254416["base.Schema"]
  95970851503232["main.BaseModel"]
  125067848591872["builtins.object"]
  95970862258240 --> 95970860013632
  95970862254416 --> 95970862258240
  95970851503232 --> 95970862254416
  125067848591872 --> 95970851503232

🛈 DocStrings

Bases: AnnotatedObject

UNSTABLE: The agent's authentication state changed (auth/status_update).

Source code in src/aclientp/schema/notifications.py
class AuthStatusUpdateNotification(AnnotatedObject):
    """**UNSTABLE**: The agent's authentication state changed (``auth/status_update``)."""

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

    accounts: Sequence[AuthAccount] = Field(default_factory=list)
    """The accounts the agent has configured, for display."""

accounts class-attribute instance-attribute

accounts: Sequence[AuthAccount] = Field(default_factory=list)

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