Firebase.Auth.PhoneAuthCredential

Wraps phone number and verification information for authentication purposes.

Summary

Inheritance

Inherits from: Firebase.Auth.Credential

Constructors and Destructors

PhoneAuthCredential()
PhoneAuthCredential(PhoneAuthCredential rhs)

Properties

SmsCode
string
Gets the auto-retrieved SMS verification code if applicable.

Public functions

Dispose(bool disposing)
virtual override void

Properties

SmsCode

string SmsCode

Gets the auto-retrieved SMS verification code if applicable.

This method is supported on Android devices only. It will return empty strings on other platforms.

When SMS verification is used, you will be called back first via PhoneAuthProvider.CodeSent, and later PhoneAuthProvider.VerificationCompleted with a PhoneAuthCredential containing a non-null SMS code if auto-retrieval succeeded. If Firebase used another approach to verify the phone number and triggers a callback via PhoneAuthProvider.VerificationCompleted, then the SMS code can be null.

Public functions

Dispose

virtual override void Dispose(
  bool disposing
)

PhoneAuthCredential

 PhoneAuthCredential()

PhoneAuthCredential

 PhoneAuthCredential(
  PhoneAuthCredential rhs
)