On a nonce-based credential link failure where the user has already linked to the provider, the Firebase auth service may provide an updated Credential.
On a nonce-based credential link failure where the user has already linked to the provider, the Firebase auth service may provide an updated Credential.
[[["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::AdditionalUserInfo\n\n\n`#include \u003cuser.h\u003e`\n\nAdditional user data returned from an identity provider.\n\nSummary\n\nPublic attributes \n\nprofile \n\n```c++\nstd::map\u003c Variant, Variant \u003e firebase::auth::AdditionalUserInfo::profile\n``` \nAdditional identity-provider specific information.\n\nMost likely a hierarchical key-value mapping, like a parsed JSON file. Note we use map instead of unordered_map to support older compilers. \n\nprovider_id \n\n```c++\nstd::string firebase::auth::AdditionalUserInfo::provider_id\n``` \nThe provider identifier. \n\nupdated_credential \n\n```c++\nCredential firebase::auth::AdditionalUserInfo::updated_credential\n``` \nOn a nonce-based credential link failure where the user has already linked to the provider, the Firebase auth service may provide an updated [Credential](/docs/reference/cpp/class/firebase/auth/credential#classfirebase_1_1auth_1_1_credential).\n\nIf is_valid returns true on this credential, then it may be passed to a new [firebase::auth::Auth::SignInWithCredential](/docs/reference/cpp/class/firebase/auth/auth#classfirebase_1_1auth_1_1_auth_1a16d92dd01886a3327afe08f65e0fa2b8) request to sign the user in with the provider. \n\nuser_name \n\n```c++\nstd::string firebase::auth::AdditionalUserInfo::user_name\n``` \nThe name of the user."]]