Constructor

EmailAuthProvider

new EmailAuthProvider()

Email and password auth provider implementation.

To authenticate: firebase.auth.Auth#createUserWithEmailAndPassword and firebase.auth.Auth#signInWithEmailAndPassword.

Implements
firebase.auth.AuthProvider

Properties

PROVIDER_ID

static

string

providerId

string

Implements
firebase.auth.AuthProvider#providerId

Method

credential

static

credential(email, password) returns firebase.auth.AuthCredential

Parameter

email

string

Email address.

password

string

User account password.

Returns

non-null firebase.auth.AuthCredential The auth provider credential.

Example

var cred = firebase.auth.EmailAuthProvider.credential(
    email,
    password
);