pub struct PasswordAuth;Expand description
Shipped default authenticator: Argon2id verification against AdminUser.
Trait Implementations§
Source§impl Authenticator for PasswordAuth
impl Authenticator for PasswordAuth
Source§impl Clone for PasswordAuth
impl Clone for PasswordAuth
impl Copy for PasswordAuth
Source§impl Debug for PasswordAuth
impl Debug for PasswordAuth
Source§impl Default for PasswordAuth
impl Default for PasswordAuth
Source§impl Registrar for PasswordAuth
Registers an active AdminUser from a SignUp, refusing a password
new_password_errors refuses and an email another account
holds. Install it with Auth::registration.
impl Registrar for PasswordAuth
Registers an active AdminUser from a SignUp, refusing a password
new_password_errors refuses and an email another account
holds. Install it with Auth::registration.
Source§type Input = SignUp
type Input = SignUp
What the sign-up page asks for:
SignUp, or the app’s own
#[derive(ActionInput)] struct. #[form(password)] masks a
field, and #[form(email)] checks an address.Source§type User = AdminUser
type User = AdminUser
The account a sign-up creates: the type the panel’s
Authenticator loads, which mounting checks.Auto Trait Implementations§
impl Freeze for PasswordAuth
impl RefUnwindSafe for PasswordAuth
impl Send for PasswordAuth
impl Sync for PasswordAuth
impl Unpin for PasswordAuth
impl UnsafeUnpin for PasswordAuth
impl UnwindSafe for PasswordAuth
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more