Function send_authentication_firebase_sms

Source
pub async fn send_authentication_firebase_sms(
    token: String,
    client_id: i32,
) -> Result<(), Error>
Expand description

Sends Firebase Authentication SMS to the phone number of the user. Works only when the current authorization state is authorizationStateWaitCode and the server returned code of the type authenticationCodeTypeFirebaseAndroid or authenticationCodeTypeFirebaseIos

ยงArguments

  • token - SafetyNet Attestation API token for the Android application, or secret from push notification for the iOS application
  • client_id - The client id to send the request to