pub struct UserConsoleAuthenticator { /* private fields */ }Expand description
An IAuthenticator that asks for the 2-factor codes on the console.
Implementations§
Trait Implementations§
Source§impl Debug for UserConsoleAuthenticator
impl Debug for UserConsoleAuthenticator
Source§impl Default for UserConsoleAuthenticator
impl Default for UserConsoleAuthenticator
Source§impl IAuthenticator for UserConsoleAuthenticator
impl IAuthenticator for UserConsoleAuthenticator
Source§fn get_device_code<'life0, 'async_trait>(
&'life0 self,
previous_code_was_incorrect: bool,
) -> Pin<Box<dyn Future<Output = Result<String, SteamError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_device_code<'life0, 'async_trait>(
&'life0 self,
previous_code_was_incorrect: bool,
) -> Pin<Box<dyn Future<Output = Result<String, SteamError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Prompts the user for the 2-factor code of their authenticator app.
Source§fn get_email_code<'life0, 'life1, 'async_trait>(
&'life0 self,
email: &'life1 str,
previous_code_was_incorrect: bool,
) -> Pin<Box<dyn Future<Output = Result<String, SteamError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_email_code<'life0, 'life1, 'async_trait>(
&'life0 self,
email: &'life1 str,
previous_code_was_incorrect: bool,
) -> Pin<Box<dyn Future<Output = Result<String, SteamError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Prompts the user for the Steam Guard code that was sent to their email.
Source§fn accept_device_confirmation<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<bool, SteamError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn accept_device_confirmation<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<bool, SteamError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Tells the user to confirm the sign-in in the Steam mobile app.
Auto Trait Implementations§
impl !Freeze for UserConsoleAuthenticator
impl !RefUnwindSafe for UserConsoleAuthenticator
impl !UnwindSafe for UserConsoleAuthenticator
impl Send for UserConsoleAuthenticator
impl Sync for UserConsoleAuthenticator
impl Unpin for UserConsoleAuthenticator
impl UnsafeUnpin for UserConsoleAuthenticator
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