Re-exports§
pub use config::FutureAuthConfig;pub use error::Result;pub use error::FutureAuthError;pub use models::OtpChannel;pub use models::Session;pub use models::User;
Modules§
- axum
- client
- config
- db
- error
- hashing
- Hashing helpers for secrets stored at rest (session tokens, OTP codes, magic-link tokens).
- models
Structs§
Functions§
- ensure_
tables - Create all FutureAuth tables if they don’t exist. Only needs a database pool — no config required.
- migration_
sql - Returns the raw SQL needed to create all FutureAuth tables.