better-auth-allsource 0.14.1

Allsource DatabaseAdapter for better-auth-rs — event-sourced auth persistence
Documentation

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();