TotpMultiFactorAssertion

classTotpMultiFactorAssertion :MultiFactorAssertion


Asserts ownership of a TOTP second factor.

An instance of this object can be obtained by callinggetAssertionForEnrollment orgetAssertionForSignIn.

Summary

Public functions

String

Returns the factor identifier that this assertion is for.

Public functions

getFactorId

fun getFactorId(): String

Returns the factor identifier that this assertion is for. This is equivalent toFACTOR_ID.

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.