MultiFactorAssertion

abstract classMultiFactorAssertion

Known direct subclasses
PhoneMultiFactorAssertion

Asserts ownership of a phone number second factor.

TotpMultiFactorAssertion

Asserts ownership of a TOTP second factor.


Represents an assertion that the Firebase Authentication server can use to authenticate a user as part of a multi-factor flow.

Summary

Public constructors

Public functions

abstractString

Returns the factor id that this assertion is for.

Public constructors

MultiFactorAssertion

MultiFactorAssertion()

Public functions

getFactorId

abstract fun getFactorId(): String

Returns the factor id that this assertion is for.

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.