pub struct AuthOptions {
pub allow_device_credential: Option<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: Option<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 biometry authentication fails. This feature is available iOS only.
title: Option<String>Title indicating the purpose of biometry verification. This feature is available Android only.
subtitle: Option<String>SubTitle providing contextual information of biometry 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 biometry 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
Source§impl<'de> Deserialize<'de> for AuthOptions
impl<'de> Deserialize<'de> for AuthOptions
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. 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 UnsafeUnpin 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