Expand description
Authentication providers.
The SDK ships a single TokenProvider trait so higher layers (bridge, Python
wrappers) can plug in custom auth — session cookies, JWT, Vault-minted tokens —
without breaking the rest of the client. The v1 default is StaticApiKey, which
forwards the parsed OpenApp API key as an Authorization: Bearer header.
Structs§
- Auth
Token - Credentials returned by a
TokenProviderfor a single outgoing request. - Static
ApiKey - Static API-key provider: the token never changes for the lifetime of the client.
Traits§
- Token
Provider - Produces the
Authorizationheader for every outgoing SDK request.
Type Aliases§
- Shared
Token Provider - Shared-ownership handle used throughout the SDK.