pub struct EmailAuthProvider;Implementations§
Source§impl EmailAuthProvider
impl EmailAuthProvider
pub const PROVIDER_ID: &'static str = "password"
Sourcepub fn credential(email: &str, password: &str) -> AuthCredential
pub fn credential(email: &str, password: &str) -> AuthCredential
Builds an auth credential suitable for email/password sign-in flows.
Trait Implementations§
Source§impl Clone for EmailAuthProvider
impl Clone for EmailAuthProvider
Source§fn clone(&self) -> EmailAuthProvider
fn clone(&self) -> EmailAuthProvider
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for EmailAuthProvider
impl RefUnwindSafe for EmailAuthProvider
impl Send for EmailAuthProvider
impl Sync for EmailAuthProvider
impl Unpin for EmailAuthProvider
impl UnwindSafe for EmailAuthProvider
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