Expand description
Native, batteries-included SQL storage for authkestra-op’s OpStore,
via sqlx. Split out of authkestra-op itself (authkestra#289) so
that core has zero sqlx dependency — anyone wanting SQL-backed storage
adds this satellite crate explicitly, selecting one or more of the
postgres/mysql/sqlite features for the backend(s) they need.
While a generic KvStore exists in authkestra-engine for JSON blob
persistence across the framework, the OpenID Provider’s SqlxOpStore
is deliberately opinionated instead: highly normalized SQL tables with
proper relational foreign keys, ON DELETE CASCADE constraints, and
strictly defined columns (client_id, scopes, expires_at, …).
Structs§
- Sqlx
OpStore - Opinionated, native SQL implementation of OpStore using sqlx.
- Sqlx
OpStore Tx - A
SqlxOpStorescoped to one opensqlxtransaction — every store method called on it runs inside that transaction, and nothing lands untilcommit.