Jump to top

EmailAuthProvider

interface

Email and password auth provider implementation.

Properties

EMAIL_LINK_SIGN_IN_METHOD

</>

This corresponds to the sign-in method identifier as returned in auth#fetchSignInMethodsForEmail.

EMAIL_LINK_SIGN_IN_METHOD: string;

EMAIL_PASSWORD_SIGN_IN_METHOD

</>

This corresponds to the sign-in method identifier as returned in auth#fetchSignInMethodsForEmail.

EMAIL_PASSWORD_SIGN_IN_METHOD: string;

PROVIDER_ID

</>

The provider ID. Always returns password.

PROVIDER_ID: string;

credential

</>

Returns the auth provider credential.

credential: (email: string, password: string) => AuthCredential;

credentialWithLink

</>

Initialize an EmailAuthProvider credential using an email and an email link after a sign in with email link operation.

credentialWithLink: (email: string, emailLink: string) => AuthCredential;