firebase::auth::PhoneAuthCredential

#include <credential.h>

Wraps phone number and verification information for authentication purposes.

Summary

Inheritance

Inherits from:firebase::auth::Credential

Constructors and Destructors

PhoneAuthCredential()
PhoneAuthCredential(constPhoneAuthCredential & rhs)
Copy constructor.

Public functions

operator=(constPhoneAuthCredential & rhs)
Copy aCredential.
sms_code() const
std::string
Gets the automatically retrieved SMS verification code if applicable.

Public functions

PhoneAuthCredential

PhoneAuthCredential()

PhoneAuthCredential

PhoneAuthCredential(constPhoneAuthCredential&rhs)

Copy constructor.

operator=

PhoneAuthCredential&operator=(constPhoneAuthCredential&rhs)

Copy aCredential.

sms_code

std::stringsms_code()const

Gets the automatically retrieved SMS verification code if applicable.

This method is only supported on Android.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2024-01-23 UTC.