Expand description
Typed OAuth provider identity, descriptors, registry validation, and dispatch.
This registry is deliberately about authentication policy, not runtime wire routing. CLI aliases are normalized before a value enters this module.
Structs§
- OAuth
Provider Descriptor - OAuth
Provider Registry - Provider
Reference - Refresh
Endpoints - Overrides for the endpoints a refresh talks to. Empty in production; tests point the Muse key mint and the Anthropic token endpoint at loopback fakes so a broker-level test can never reach the real ones.
Enums§
- Broker
Credential Strategy - How a runtime may obtain a usable credential from the broker.
- OAuth
Provider Id - Provider
Behavior
Constants§
Functions§
- login
- Interactive login into the provider’s default slot.
- login_
into - Interactive login persisting ONLY into the addressed slot. A login into a named account never touches the default slot (or any other).
- login_
unsaved - Interactive login that returns the credential WITHOUT persisting it, so
the caller can run pre-persistence checks (duplicate identity) and then
store it with
save_credential. - parse_
cli_ provider - CLI-only normalization. Internal callers must carry the canonical typed ID.
- refresh
- refresh_
via refreshthroughendpoints.- registry