PhoneAuthProvider

Phone number sign-in, mirroring com.google.firebase.auth.PhoneAuthProvider: verifyPhoneNumber sends an SMS code and reports to the PhoneAuthOptions callbacks; getCredential turns the verification id and the code the user entered into a credential.

On Android the SDK can also verify the number without user input (SMS auto-retrieval); the other platforms always report OnVerificationStateChangedCallbacks.onCodeSent.

Phone number sign-in, mirroring com.google.firebase.auth.PhoneAuthProvider: verifyPhoneNumber sends an SMS code and reports to the PhoneAuthOptions callbacks; getCredential turns the verification id and the code the user entered into a credential.

On Android the SDK can also verify the number without user input (SMS auto-retrieval); the other platforms always report OnVerificationStateChangedCallbacks.onCodeSent.

Phone number sign-in, mirroring com.google.firebase.auth.PhoneAuthProvider: verifyPhoneNumber sends an SMS code and reports to the PhoneAuthOptions callbacks; getCredential turns the verification id and the code the user entered into a credential.

On Android the SDK can also verify the number without user input (SMS auto-retrieval); the other platforms always report OnVerificationStateChangedCallbacks.onCodeSent.

Types

Link copied to clipboard
actual object Companion
expect object Companion
actual object Companion
Link copied to clipboard
actual class ForceResendingToken

A token of a sent code; passing it to PhoneAuthOptions.Builder.setForceResendingToken sends a new one.

expect class ForceResendingToken

A token of a sent code; passing it to PhoneAuthOptions.Builder.setForceResendingToken sends a new one.

actual class ForceResendingToken

Resends the code of the verification options with the same options.

Link copied to clipboard

The callbacks of verifyPhoneNumber.

The callbacks of verifyPhoneNumber.

The callbacks of verifyPhoneNumber.

Functions

Link copied to clipboard

Android only: verifies phoneNumber with the deprecated instance API.