[[["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::TwitterAuthProvider Class Reference\n\nfirebase::auth::TwitterAuthProvider\n===================================\n\n\n`#include \u003ccredential.h\u003e`\n\nUse a token and secret provided by Twitter to authenticate.\n\nSummary\n-------\n\n| ### Public static attributes ||\n|----------------------------------------------------------------------------------------------------|----------------------------------------------------------------|\n| [kProviderId](#classfirebase_1_1auth_1_1_twitter_auth_provider_1ac3dee562cc22ffae3bef8da6ce079cd7) | `const char *const` The string used to identify this provider. |\n\n| ### Public static functions ||\n|-----------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [GetCredential](#classfirebase_1_1auth_1_1_twitter_auth_provider_1a8e1bbdeb3d161a0ff880f86d1b7947ad)`(const char *token, const char *secret)` | [Credential](/docs/reference/cpp/class/firebase/auth/credential#classfirebase_1_1auth_1_1_credential) Generate a credential from the given Twitter token and password. |\n\nPublic static attributes\n------------------------\n\n### kProviderId\n\n```c++\nconst char *const kProviderId\n``` \nThe string used to identify this provider.\n\nPublic static functions\n-----------------------\n\n### GetCredential\n\n```c++\nCredential GetCredential(\n const char *token,\n const char *secret\n)\n``` \nGenerate a credential from the given Twitter token and password.\n\n\u003cbr /\u003e\n\n| Details ||\n|-------------|----------------------------------------------------------------------------------------------------------------------------|\n| Parameters | |----------|---------------------------| | `token` | The Twitter OAuth token. | | `secret` | The Twitter OAuth secret. | |\n| **Returns** | New [Credential](/docs/reference/cpp/class/firebase/auth/credential#classfirebase_1_1auth_1_1_credential). |"]]