pub struct PhoneNumberAuthenticationSettings {
pub allow_flash_call: bool,
pub allow_missed_call: bool,
pub is_current_phone_number: bool,
pub allow_sms_retriever_api: bool,
pub firebase_authentication_settings: Option<FirebaseAuthenticationSettings>,
pub authentication_tokens: Vec<String>,
}
Expand description
Contains settings for the authentication of the user’s phone number
Fields§
§allow_flash_call: bool
Pass true if the authentication code may be sent via a flash call to the specified phone number
allow_missed_call: bool
Pass true if the authentication code may be sent via a missed call to the specified phone number
is_current_phone_number: bool
Pass true if the authenticated phone number is used on the current device
allow_sms_retriever_api: bool
For official applications only. True, if the application can use Android SMS Retriever API (requires Google Play Services >= 10.2) to automatically receive the authentication code from the SMS. See https:developers.google.com/identity/sms-retriever/ for more details
firebase_authentication_settings: Option<FirebaseAuthenticationSettings>
For official Android and iOS applications only; pass null otherwise. Settings for Firebase Authentication
authentication_tokens: Vec<String>
List of up to 20 authentication tokens, recently received in updateOption(“authentication_token”) in previously logged out sessions
Trait Implementations§
Source§impl Clone for PhoneNumberAuthenticationSettings
impl Clone for PhoneNumberAuthenticationSettings
Source§fn clone(&self) -> PhoneNumberAuthenticationSettings
fn clone(&self) -> PhoneNumberAuthenticationSettings
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Default for PhoneNumberAuthenticationSettings
impl Default for PhoneNumberAuthenticationSettings
Source§fn default() -> PhoneNumberAuthenticationSettings
fn default() -> PhoneNumberAuthenticationSettings
Source§impl<'de> Deserialize<'de> for PhoneNumberAuthenticationSettings
impl<'de> Deserialize<'de> for PhoneNumberAuthenticationSettings
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>,
Source§impl PartialEq for PhoneNumberAuthenticationSettings
impl PartialEq for PhoneNumberAuthenticationSettings
Source§fn eq(&self, other: &PhoneNumberAuthenticationSettings) -> bool
fn eq(&self, other: &PhoneNumberAuthenticationSettings) -> bool
self
and other
values to be equal, and is used by ==
.