EmailAuthCredential

public classEmailAuthCredential extendsAuthCredential


Wraps an email and password tuple for authentication purposes.

Summary

Public methods

@NonNullString

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

@NonNullString

Returns eitherEMAIL_LINK_SIGN_IN_METHOD for a credential generated withgetCredentialWithLink orEMAIL_PASSWORD_SIGN_IN_METHOD for a credential generated withgetCredential.

Inherited Constants

Fromandroid.os.Parcelable
static final int
static final int

Inherited methods

Fromandroid.os.Parcelable
abstract int

Constants

CREATOR

public static final Parcelable.Creator<EmailAuthCredentialCREATOR

Public methods

getProvider

public @NonNullString getProvider()

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

getSignInMethod

public @NonNullString getSignInMethod()

Returns eitherEMAIL_LINK_SIGN_IN_METHOD for a credential generated withgetCredentialWithLink orEMAIL_PASSWORD_SIGN_IN_METHOD for a credential generated withgetCredential.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-07-21 UTC.