EmailAuthCredential

public class EmailAuthCredential extends AuthCredential


Wraps an email and password tuple for authentication purposes.

Summary

Public methods

@NonNull String

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

@NonNull String

Returns either EMAIL_LINK_SIGN_IN_METHOD for a credential generated with getCredentialWithLink or EMAIL_PASSWORD_SIGN_IN_METHOD for a credential generated with getCredential.

Inherited Constants

From android.os.Parcelable
static final int
static final int

Inherited methods

From android.os.Parcelable
abstract int

Constants

CREATOR

public static final Parcelable.Creator<EmailAuthCredentialCREATOR

Public methods

getProvider

public @NonNull String getProvider()

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

getSignInMethod

public @NonNull String getSignInMethod()

Returns either EMAIL_LINK_SIGN_IN_METHOD for a credential generated with getCredentialWithLink or EMAIL_PASSWORD_SIGN_IN_METHOD for a credential generated with getCredential.