Expand description
Axum-independent runtime: config snapshot, credential store, selection, credential preparation and attempt outcomes.
Every attempt is a Lease: an owned guard that reports exactly one Outcome,
either explicitly or as Cancelled when dropped (client gone mid-execute, stream
dropped). Streams wrap their lease in Completing.
Structs§
- Attempt
Stats - Commit
- How
CredentialStore::commit_file_backedcommits a management save. - Completing
- A response stream that reports its lease’s outcome on end, on the first error (after
which it yields nothing more), or as
Cancelledwhen dropped early. - Credential
Activity - Per-credential outcome counters for management views (Go
Auth.Success/Failedand its 20 x 10-minute recent-request ring). Additive read API. - Credential
Store - Lease
- One attempt with one credential. Not cloneable: it reports exactly one outcome.
- OAuth
Callback - An OAuth provider redirect received on the main listener.
- Provenance
- What a file credential’s metadata was built from at one revision. Go holds a loaded file’s numbers as float64 read from its text, and a saved record’s numbers as that save held them; a management save reproduces them only from this, never from the file as it is now, which may have changed since without a reload.
- Runtime
- Selection
- Route-model state is separate from the lease’s resolved execution model.
Enums§
- Acquire
Error - OAuth
Delivery - What became of a provider callback.
- Outcome
- Patch
Error
Constants§
Functions§
- admission
- Registry admission (Go
authSupportsRouteModel) plus a registered executor, built-in or plugin. - standalone_
admission - Admission without a registry: provider match, prefix, config aliases and the credential’s exclusions (attributes first, then file metadata).
Type Aliases§
- Admit
- Decides which credentials may serve a selection and under which model key their
cooldowns live.
Nonerejects the credential. - OAuth
Callback Sink - Hands a callback to a pending management login (Go
WriteOAuthCallbackFileForPendingSession).