[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-01-23 UTC."],[],[],null,["firebase::auth::PhoneAuthCredential\n\n\n`#include \u003ccredential.h\u003e`\n\nWraps phone number and verification information for authentication purposes.\n\nSummary\n\nInheritanceInherits from: [firebase::auth::Credential](/docs/reference/cpp/class/firebase/auth/credential)\n\nPublic functions \n\nPhoneAuthCredential \n\n```c++\n PhoneAuthCredential()\n``` \n\nPhoneAuthCredential \n\n```c++\n PhoneAuthCredential(\n const PhoneAuthCredential & rhs\n)\n``` \nCopy constructor. \n\noperator= \n\n```c++\nPhoneAuthCredential & operator=(\n const PhoneAuthCredential & rhs\n)\n``` \nCopy a [Credential](/docs/reference/cpp/class/firebase/auth/credential#classfirebase_1_1auth_1_1_credential). \n\nsms_code \n\n```c++\nstd::string sms_code() const \n``` \nGets the automatically retrieved SMS verification code if applicable.\n\nThis method is only supported on Android."]]