[[["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-05-07 UTC."],[],[],null,["# firebase::auth::PhoneAuthProvider::ForceResendingToken Class Reference\n\nfirebase::auth::PhoneAuthProvider::ForceResendingToken\n======================================================\n\n\n`#include \u003ccredential.h\u003e`\n\nToken to maintain current phone number verification session.\n\nSummary\n-------\n\nAcquired via [Listener::OnCodeSent](/docs/reference/cpp/class/firebase/auth/phone-auth-provider/listener#classfirebase_1_1auth_1_1_phone_auth_provider_1_1_listener_1a65f3a2abf007af3dfb1f8d2136bf4c29). Used in [VerifyPhoneNumber](/docs/reference/cpp/class/firebase/auth/phone-auth-provider#classfirebase_1_1auth_1_1_phone_auth_provider_1ad8b24001f507a420a3915d0f29865d84).\n\n| ### Constructors and Destructors ||\n|---|---|\n| [ForceResendingToken](#classfirebase_1_1auth_1_1_phone_auth_provider_1_1_force_resending_token_1a61f1b41b38216810c578d27a872711f2)`()` This token will be invalid until it is assigned a value sent via [Listener::OnCodeSent](/docs/reference/cpp/class/firebase/auth/phone-auth-provider/listener#classfirebase_1_1auth_1_1_phone_auth_provider_1_1_listener_1a65f3a2abf007af3dfb1f8d2136bf4c29). ||\n| [ForceResendingToken](#classfirebase_1_1auth_1_1_phone_auth_provider_1_1_force_resending_token_1a606f043ac861209567cbe3d7914ff1f0)`(const `[ForceResendingToken](/docs/reference/cpp/class/firebase/auth/phone-auth-provider/force-resending-token#classfirebase_1_1auth_1_1_phone_auth_provider_1_1_force_resending_token)` & rhs)` Make `this` token refer to the same phone session as `rhs`. ||\n| [~ForceResendingToken](#classfirebase_1_1auth_1_1_phone_auth_provider_1_1_force_resending_token_1a9013ec95ee953739d66401f44209e1e2)`()` Releases internal resources when destructing. ||\n\n| ### Public functions ||\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [operator!=](#classfirebase_1_1auth_1_1_phone_auth_provider_1_1_force_resending_token_1acd94496067277e4c48d331521a92483d)`(const `[ForceResendingToken](/docs/reference/cpp/class/firebase/auth/phone-auth-provider/force-resending-token#classfirebase_1_1auth_1_1_phone_auth_provider_1_1_force_resending_token)` & rhs) const ` | `bool` Return true if `rhs` is refers to a different phone number session as `this`. |\n| [operator=](#classfirebase_1_1auth_1_1_phone_auth_provider_1_1_force_resending_token_1ac992c50789820f5e93a695b3112b4374)`(const `[ForceResendingToken](/docs/reference/cpp/class/firebase/auth/phone-auth-provider/force-resending-token#classfirebase_1_1auth_1_1_phone_auth_provider_1_1_force_resending_token)` & rhs)` | [ForceResendingToken](/docs/reference/cpp/class/firebase/auth/phone-auth-provider/force-resending-token#classfirebase_1_1auth_1_1_phone_auth_provider_1_1_force_resending_token)` &` Make `this` token refer to the same phone session as `rhs`. |\n| [operator==](#classfirebase_1_1auth_1_1_phone_auth_provider_1_1_force_resending_token_1a3ac0911a8f4df4972f827f88dce9135e)`(const `[ForceResendingToken](/docs/reference/cpp/class/firebase/auth/phone-auth-provider/force-resending-token#classfirebase_1_1auth_1_1_phone_auth_provider_1_1_force_resending_token)` & rhs) const ` | `bool` Return true if `rhs` is refers to the same phone number session as `this`. |\n\nPublic functions\n----------------\n\n### ForceResendingToken\n\n```c++\n ForceResendingToken()\n``` \nThis token will be invalid until it is assigned a value sent via [Listener::OnCodeSent](/docs/reference/cpp/class/firebase/auth/phone-auth-provider/listener#classfirebase_1_1auth_1_1_phone_auth_provider_1_1_listener_1a65f3a2abf007af3dfb1f8d2136bf4c29).\n\nIt can still be passed into [VerifyPhoneNumber](/docs/reference/cpp/class/firebase/auth/phone-auth-provider#classfirebase_1_1auth_1_1_phone_auth_provider_1ad8b24001f507a420a3915d0f29865d84), but it will be ignored. \n\n### ForceResendingToken\n\n```c++\n ForceResendingToken(\n const ForceResendingToken & rhs\n)\n``` \nMake `this` token refer to the same phone session as `rhs`. \n\n### operator!=\n\n```c++\nbool operator!=(\n const ForceResendingToken & rhs\n) const \n``` \nReturn true if `rhs` is refers to a different phone number session as `this`. \n\n### operator=\n\n```c++\nForceResendingToken & operator=(\n const ForceResendingToken & rhs\n)\n``` \nMake `this` token refer to the same phone session as `rhs`. \n\n### operator==\n\n```c++\nbool operator==(\n const ForceResendingToken & rhs\n) const \n``` \nReturn true if `rhs` is refers to the same phone number session as `this`. \n\n### \\~ForceResendingToken\n\n```c++\n ~ForceResendingToken()\n``` \nReleases internal resources when destructing."]]