Stay organized with collections
Save and categorize content based on your preferences.
Interface that represents the credentials returned by an AuthProvider.
Implementations specify the details about each auth provider's credential requirements.
The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the AuthCredential class.
[[["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-19 UTC."],[],[],null,["Interface that represents the credentials returned by an [AuthProvider](./auth.authprovider.md#authprovider_interface).\n\nImplementations specify the details about each auth provider's credential requirements.\n\nThe constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the `AuthCredential` class.\n\n**Signature:** \n\n export declare class AuthCredential \n\nProperties\n\nMethods\n\nAuthCredential.providerId\n\nThe authentication provider ID for the credential.\n\nFor example, 'facebook.com', or 'google.com'.\n\n**Signature:** \n\n readonly providerId: string;\n\nAuthCredential.signInMethod\n\nThe authentication sign in method for the credential.\n\nFor example, [SignInMethod](./auth.md#signinmethod).EMAIL_PASSWORD, or [SignInMethod](./auth.md#signinmethod).EMAIL_LINK. This corresponds to the sign-in method identifier as returned in [fetchSignInMethodsForEmail()](./auth.md#fetchsigninmethodsforemail_efb3887).\n\n**Signature:** \n\n readonly signInMethod: string;\n\nAuthCredential.toJSON()\n\nReturns a JSON-serializable representation of this object.\n\n**Signature:** \n\n toJSON(): object;\n\n**Returns:**\n\nobject\n\na JSON-serializable representation of this object."]]