Expand description
Allsource DatabaseAdapter for better-auth-rs.
Uses Allsource Core for event appending and Query Service for reads, eliminating the need for a separate SQL database for authentication.
§Usage
ⓘ
use better_auth_allsource::AllsourceAuthAdapter;
let adapter = AllsourceAuthAdapter::new(
"http://localhost:3900", // Allsource Core
"http://localhost:3902", // Allsource Query Service
"my-tenant-id",
"ask_my-api-key",
);
let auth = BetterAuth::builder()
.database(adapter)
.build();Structs§
- Allsource
Auth Adapter - Allsource-backed
DatabaseAdapterfor better-auth-rs.