pub struct AuthOptions {
pub allow_device_credential: bool,
pub cancel_title: Option<String>,
pub fallback_title: Option<String>,
pub title: Option<String>,
pub subtitle: Option<String>,
pub confirmation_required: Option<bool>,
}
Fields§
§allow_device_credential: bool
Enables authentication using the device’s password. This feature is available on both Android and iOS.
cancel_title: Option<String>
Label for the Cancel button. This feature is available on both Android and iOS.
fallback_title: Option<String>
Specifies the text displayed on the fallback button if biometric authentication fails. This feature is available iOS only.
title: Option<String>
Title indicating the purpose of biometric verification. This feature is available Android only.
subtitle: Option<String>
SubTitle providing contextual information of biometric verification. This feature is available Android only.
confirmation_required: Option<bool>
Specifies whether additional user confirmation is required, such as pressing a button after successful biometric authentication. This feature is available Android only.
Trait Implementations§
Source§impl Debug for AuthOptions
impl Debug for AuthOptions
Source§impl Default for AuthOptions
impl Default for AuthOptions
Source§fn default() -> AuthOptions
fn default() -> AuthOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AuthOptions
impl RefUnwindSafe for AuthOptions
impl Send for AuthOptions
impl Sync for AuthOptions
impl Unpin for AuthOptions
impl UnwindSafe for AuthOptions
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