pub struct DeviceConfirmationHandler;Expand description
Wait for the user to confirm the login in the mobile app
Trait Implementations§
Source§impl AuthConfirmationHandler for DeviceConfirmationHandler
impl AuthConfirmationHandler for DeviceConfirmationHandler
Source§async fn handle_confirmation(
self,
allowed_confirmations: &[ConfirmationMethod],
) -> Option<ConfirmationAction>
async fn handle_confirmation( self, allowed_confirmations: &[ConfirmationMethod], ) -> Option<ConfirmationAction>
Perform the confirmation action given a list of allowed confirmations for the login Read more
Source§fn or<Right: AuthConfirmationHandler>(
self,
other: Right,
) -> EitherConfirmationHandler<Self, Right>
fn or<Right: AuthConfirmationHandler>( self, other: Right, ) -> EitherConfirmationHandler<Self, Right>
Return a new confirmation handler that combines the current one with a new one. Read more
Source§impl Default for DeviceConfirmationHandler
impl Default for DeviceConfirmationHandler
Source§fn default() -> DeviceConfirmationHandler
fn default() -> DeviceConfirmationHandler
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DeviceConfirmationHandler
impl RefUnwindSafe for DeviceConfirmationHandler
impl Send for DeviceConfirmationHandler
impl Sync for DeviceConfirmationHandler
impl Unpin for DeviceConfirmationHandler
impl UnwindSafe for DeviceConfirmationHandler
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