EmailAuthCredential

classEmailAuthCredential :AuthCredential


Wraps an email and password tuple for authentication purposes.

Summary

Public functions

String

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

String

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

Inherited functions

Fromandroid.os.Parcelable

Constants

Public functions

getProvider

fun getProvider(): String

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

getSignInMethod

fun getSignInMethod(): String

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.