better-auth 1.0.0-alpha.4

The most comprehensive authentication framework for Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Storage traits and cache adapters used by Better Auth.

#[cfg(feature = "redis-cache")]
pub use better_auth_core::store::RedisAdapter;
pub use better_auth_core::store::database_hooks::{
    DatabaseHookContext, DatabaseHookControl, DatabaseHookUpdate, DatabaseHooks, SessionUpdate,
    VerificationUpdate,
};
pub use better_auth_core::store::{
    AccountOwner, AuthStore, AuthTransaction, CacheAdapter, EphemeralStore, InvitationOrganization,
    JoinValue, MemoryCacheAdapter, OrganizationRoleKey, RateLimitRecord, RateLimitStore,
    RuntimeStore, SecondaryStorage, SessionCreateWriter, SessionUpdateWriter, StatelessSchema,
    StoreCapabilities, UserAccounts, VerificationCleanup, VerificationCreateWriter,
    VerificationSessionCleanup, transaction,
};