AuthMethodTerminal
Base classes¶
| Name | Children | Inherits |
|---|---|---|
| AnnotatedObject aclientp.schema.v2.base A v2 object with the ``_meta`` extension point. |
⋔ Inheritance diagram¶
graph TD
95970868401584["auth.AuthMethodTerminal"]
95970868359040["base.AnnotatedObject"]
95970855946400["base.Schema"]
95970851503232["main.BaseModel"]
125067848591872["builtins.object"]
95970868359040 --> 95970868401584
95970855946400 --> 95970868359040
95970851503232 --> 95970855946400
125067848591872 --> 95970851503232
🛈 DocStrings¶
Bases: AnnotatedObject
Terminal-based authentication method.
The client runs the configured agent program as a separate interactive process, with
args appended and env set, for the user to authenticate in a TUI. Requires the
client's auth.terminal capability.
Source code in src/aclientp/schema/v2/auth.py
args
class-attribute
instance-attribute
¶
Additional arguments to append to the configured agent invocation for terminal auth.
description
class-attribute
instance-attribute
¶
Optional human-readable description of this authentication method.
env
class-attribute
instance-attribute
¶
env: Sequence[EnvVariable] | MISSING = MISSING
Additional environment variables to set on the configured agent invocation for terminal auth. Names MUST be unique. These values override same-named variables in the base launch configuration.
method_id
instance-attribute
¶
method_id: AuthMethodId
Unique identifier for this authentication method.