[[["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::UserInfoInterface Class Reference\n\nfirebase::auth::UserInfoInterface\n=================================\n\n\n`#include \u003cuser.h\u003e`\n\nInterface implemented by each identity provider.\n\nSummary\n-------\n\n### Inheritance\n\nDirect Known Subclasses:[firebase::auth::User](/docs/reference/cpp/class/firebase/auth/user)\n\n| ### Constructors and Destructors ||\n|---|---|\n| [~UserInfoInterface](#classfirebase_1_1auth_1_1_user_info_interface_1a23a4a5102ccfe856e85ca50ed491791e)`()` ||\n\n| ### Public functions ||\n|--------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------|\n| [display_name](#classfirebase_1_1auth_1_1_user_info_interface_1a85295cc56bbbe4e2e05bcb7d6b745249)`() const ` | `virtual std::string` Gets the display name associated with the user, if any. |\n| [email](#classfirebase_1_1auth_1_1_user_info_interface_1a12774ad23efe5a62853ef8a0deb87708)`() const ` | `virtual std::string` Gets email associated with the user, if any. |\n| [phone_number](#classfirebase_1_1auth_1_1_user_info_interface_1aea3186ad14aeb53fd8521eb75d58816d)`() const ` | `virtual std::string` Gets the phone number for the user, in E.164 format. |\n| [photo_url](#classfirebase_1_1auth_1_1_user_info_interface_1a9abadeb204d12fd0d0a5a962d8349d28)`() const ` | `virtual std::string` Gets the photo url associated with the user, if any. |\n| [provider_id](#classfirebase_1_1auth_1_1_user_info_interface_1acbdf133555e0bccf794c1584db62b958)`() const ` | `virtual std::string` Gets the provider ID for the user (For example, \"Facebook\"). |\n| [uid](#classfirebase_1_1auth_1_1_user_info_interface_1a39644e30a79b0cbc6841ebee691cc74c)`() const ` | `virtual std::string` Gets the unique Firebase user ID for the user. |\n\nPublic functions\n----------------\n\n### display_name\n\n```c++\nvirtual std::string display_name() const \n``` \nGets the display name associated with the user, if any. \n\n### email\n\n```c++\nvirtual std::string email() const \n``` \nGets email associated with the user, if any. \n\n### phone_number\n\n```c++\nvirtual std::string phone_number() const \n``` \nGets the phone number for the user, in E.164 format. \n\n### photo_url\n\n```c++\nvirtual std::string photo_url() const \n``` \nGets the photo url associated with the user, if any. \n\n### provider_id\n\n```c++\nvirtual std::string provider_id() const \n``` \nGets the provider ID for the user (For example, \"Facebook\"). \n\n### uid\n\n```c++\nvirtual std::string uid() const \n``` \nGets the unique Firebase user ID for the user.\n\n\n| **Note:** The user's ID, unique to the Firebase project. Do NOT use this value to authenticate with your backend server, if you have one. Use [User::GetToken()](/docs/reference/cpp/class/firebase/auth/user#classfirebase_1_1auth_1_1_user_1a2214a2f314fd251bad6f318ec9eab22d) instead.\n\n\u003cbr /\u003e\n\n### \\~UserInfoInterface\n\n```c++\nvirtual ~UserInfoInterface()\n```"]]