1mod actions;
27mod feature;
28mod forms;
29mod guard;
30#[cfg(feature = "mail")]
31mod mail;
32mod migration;
33mod paths;
34mod plugin;
35mod state;
36mod store;
37mod token;
38mod two_factor;
39
40#[cfg(feature = "activity")]
41mod activity_log;
42
43pub mod entity;
44
45#[cfg(feature = "mail")]
46pub use mail::{send_reset, send_verify, ResetPasswordMail, VerifyEmailMail};
47pub use feature::Feature;
48pub use guard::AuthExt;
49pub use migration::AuthMigrator;
50pub use paths::FortifyPaths;
51pub use plugin::Fortify;
52pub use store::{
53 assign_role, create_permission, create_role, delete_permission, delete_role, find_user_by_email,
54 find_user_by_id, list_permissions, list_roles, load_current_user, mark_email_verified,
55 register_user, revoke_role, set_avatar, set_user_roles, sync_role_permissions, update_permission,
56 update_role, user_ids_with_permission, user_ids_with_role, CurrentUser,
57};
58pub use token::{make_verify_token, parse_verify_token};
59
60#[cfg(feature = "vld")]
61pub use forms::{
62 ConfirmPasswordForm, DisableTwoFactorForm, ForgotForm, LoginForm, PasswordForm, ProfileForm,
63 RegisterForm, ResetForm, TwoFactorCodeForm,
64};