The Firebase JS SDK is now in BETA!
This EAP site is no longer maintained. See the official Firebase Documentation site for the latest documentation and information about the Firebase JS SDK.

Home > @firebase/auth > EmailAuthProvider

EmailAuthProvider class

Provider for generating EmailAuthCredential.

Signature:

export declare class EmailAuthProvider implements AuthProvider 

Implements: AuthProvider

Properties

Property Modifiers Type Description
EMAIL_LINK_SIGN_IN_METHOD static (not declared) Always set to SignInMethod.EMAIL_LINK.
EMAIL_PASSWORD_SIGN_IN_METHOD static (not declared) Always set to SignInMethod.EMAIL_PASSWORD.
PROVIDER_ID static (not declared) Always set to ProviderId.PASSWORD, even for email link.
providerId (not declared) Always set to ProviderId.PASSWORD, even for email link.

Methods

Method Modifiers Description
credential(email, password) static Initialize an AuthCredential using an email and password.
credentialWithLink(email, emailLink) static Initialize an AuthCredential using an email and an email link after a sign in with email link operation.