Expand description
Rust-first OpenApp SDK — thin re-export of openapp_sdk_core.
Prefer this crate for Rust applications so version lines stay independent of
the internal openapp-sdk-core crate while tracking the same wire behavior.
Modules§
- auth
- Authentication providers.
- client
- The top-level
Clientand its builder. - error
- Error types surfaced by every SDK call.
- interceptor
- Request / response interceptors.
- resolve
- Helpers for resolving resources by localized display name.
- resources
- Per-OpenAPI-tag sub-clients.
- retry
- Retry policy configuration.
- telemetry
- Tracing / telemetry configuration.
- transport
- HTTP transport engine shared by every sub-client.
Structs§
- ApiError
Response - JSON body returned by the
OpenAppAPI for non-2xx responses. - ApiKey
- A parsed
OpenAppAPI-key token. - Client
- High-level SDK client. Cheap to clone — all heavy state sits behind an
Arc. - Client
Builder - Fluent builder for
Client. UseClient::builderto construct one. - Client
Config - User-visible client configuration snapshot (read-only after
ClientBuilder::build).
Enums§
- Name
Match - How a needle is compared against localized name values.
- SdkError
- Exhaustive error returned by the high-level client.
- Token
Format Error - Errors raised when parsing an
OpenAppAPI-key token.
Constants§
- API_
PATH_ PREFIX - Path prefix of the versioned API on every deployment origin (gateway rules match
/api/v1/...; seeory/oathkeeper/rules.json.tmpl). - SDK_
NAME - The SDK name we advertise in the
User-Agentheader. - SDK_
VERSION - The SDK version (kept in sync with
Cargo.toml).
Traits§
- Interceptor
- Hook invoked around every outgoing HTTP request.