Expand description
Shared, provider-scoped credential resolution for requests and auth UI. Provider packages own their environment names and anonymous policy. The host owns persistence and precedence, and never guesses a key from a wire protocol.
Structs§
- Auth
State - Safe for UI snapshots and change notifications; contains no credential values.
- Resolved
Credential
Enums§
- Auth
Status - Local readiness only; this does not claim that a server accepted the key.
- Credential
Source
Functions§
- builtin_
api_ key_ env - Only these identities have a built-in environment fallback. Other providers need a loaded declaration or an explicit models.json apiKey reference.
- has_
header_ auth - resolve