EmailAuthProvider

public class EmailAuthProvider extends Object

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

Constant Summary

String PROVIDER_ID Unique string identifier for this provider type.

Public Method Summary

static AuthCredential
getCredential(String email, String password)
Returns a new instance of AuthCredential that wraps a given email and password.

Inherited Method Summary

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).

Send feedback about...

Need help? Visit our support page.