public class

EmailAuthCredential

extends AuthCredential
java.lang.Object
   ↳ com.google.firebase.auth.AuthCredential
     ↳ com.google.firebase.auth.EmailAuthCredential

Class Overview

Wraps an email and password tuple for authentication purposes.

Summary

[Expand]
Inherited Constants
From interface android.os.Parcelable
Fields
public static final Creator<EmailAuthCredential> CREATOR
Public Methods
String getProvider()
Returns the unique string identifier for the provider type with which the credential is associated.
String getSignInMethod()
Returns either EMAIL_LINK_SIGN_IN_METHOD for a credential generated with getCredentialWithLink(String, String) or EMAIL_PASSWORD_SIGN_IN_METHOD for a credential generated with getCredential(String, String).
[Expand]
Inherited Methods
From class com.google.firebase.auth.AuthCredential
From class java.lang.Object
From interface android.os.Parcelable

Fields

public static final Creator<EmailAuthCredential> CREATOR

Public Methods

public String getProvider ()

Returns the unique string identifier for the provider type with which the credential is associated.

Returns
String

public String getSignInMethod ()

Returns either EMAIL_LINK_SIGN_IN_METHOD for a credential generated with getCredentialWithLink(String, String) or EMAIL_PASSWORD_SIGN_IN_METHOD for a credential generated with getCredential(String, String).

Returns
String