Skip to main content

Module token

Module token 

Source
Expand description

Token resolution — resolves the effective bearer token from env or cache.

See ADR-0007 for the full resolution order (flag → env → .env → cache). In v1 there is no --token flag, so the effective order is env → cache.

Structs§

ResolvedToken
The bearer token a command should use for a server, plus its origin.

Enums§

TokenOrigin
Where the effective bearer token came from.

Functions§

resolve_token
Resolve the effective bearer token for server.