pub struct PasswordIdentityProvider { /* private fields */ }Expand description
Identity provider for traditional username/password authentication.
Implementations§
Trait Implementations§
Source§impl Clone for PasswordIdentityProvider
impl Clone for PasswordIdentityProvider
Source§fn clone(&self) -> PasswordIdentityProvider
fn clone(&self) -> PasswordIdentityProvider
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 moreSource§impl IdentityProvider for PasswordIdentityProvider
impl IdentityProvider for PasswordIdentityProvider
Source§fn get_credentials<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Credentials>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_credentials<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Credentials>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Fetch credentials for authentication.
Source§fn clone_box(&self) -> Box<dyn IdentityProvider>
fn clone_box(&self) -> Box<dyn IdentityProvider>
Clone the provider into a boxed trait object.
Auto Trait Implementations§
impl Freeze for PasswordIdentityProvider
impl RefUnwindSafe for PasswordIdentityProvider
impl Send for PasswordIdentityProvider
impl Sync for PasswordIdentityProvider
impl Unpin for PasswordIdentityProvider
impl UnsafeUnpin for PasswordIdentityProvider
impl UnwindSafe for PasswordIdentityProvider
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