better-auth 1.0.0-alpha.5

The most comprehensive authentication framework for Rust
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! 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,
    DatabaseUpdateResult, 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, VerificationCreateWriter, transaction,
};