Skip to content

common_auth.schemas.tokens.configs

Token lookup/lifecycle settings, independent of issuer and store implementations.

Classes

ManagedTokenConfig

Bases: _TokenConfig

Configure the token owner; acquisition and store capabilities are injected.

A newly acquired token must satisfy lookup requirements or fail actionably; an insufficient token never justifies an unbounded acquisition loop. This schema creates no scheduler, refresh lock, retry runner or credential source.

Fields and properties declared here; inherited members belong to the bases above.

mode

mode: Literal['managed'] = 'managed'