public class

EmailAuthProvider

extends Object
java.lang.Object
   ↳ com.google.firebase.auth.EmailAuthProvider

Class Overview

Represents the email and password authentication mechanism. Use this class to obtain EmailAuthCredentials.

Summary

Constants
String PROVIDER_ID Unique string identifier for this provider type.
Public Methods
static AuthCredential getCredential(String email, String password)
Returns a new instance of AuthCredential that wraps a given email and password.
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final String PROVIDER_ID

Unique string identifier for this provider type.

Constant Value: "password"

Public Methods

public static AuthCredential getCredential (String email, String password)

Returns a new instance of AuthCredential that wraps a given email and password. Used when calling signInWithCredential(AuthCredential) or linkWithCredential(AuthCredential).

Parameters
email String
password String
Returns
AuthCredential