doido_auth/controllers/mod.rs
1//! Default auth controllers shipped with `doido-auth`.
2//!
3//! Apps can point `auth_routes!(User)` at these types directly, or supply custom
4//! controllers via `controllers:` / `actions:` options (Devise-style). Generated
5//! apps from `auth:install` emit project-local controllers under
6//! `app/controllers/auth/` that mirror these defaults and can be extended.
7
8pub mod confirmations;
9pub mod oauth;
10pub mod passwords;
11pub mod registrations;
12pub mod sessions;
13
14#[cfg(feature = "auth-2fa")]
15pub mod two_factor;
16
17pub use confirmations::AuthConfirmations;
18pub use oauth::AuthOauth;
19pub use passwords::AuthPasswords;
20pub use registrations::AuthRegistrations;
21pub use sessions::AuthSessions;
22
23#[cfg(feature = "auth-2fa")]
24pub use two_factor::AuthTwoFactor;