Back to Firebase Js Sdk

MultiFactorAssertion interface

docs-devsite/auth.multifactorassertion.md

12.12.11.1 KB
Original Source

Project: /docs/reference/js/_project.yaml Book: /docs/reference/_book.yaml page_type: reference

{% comment %} DO NOT EDIT THIS FILE! This is generated by the JS SDK team, and any local changes will be overwritten. Changes should be made in the source code at https://github.com/firebase/firebase-js-sdk {% endcomment %}

MultiFactorAssertion interface

The base class for asserting ownership of a second factor.

This is used to facilitate enrollment of a second factor on an existing user or sign-in of a user who already verified the first factor.

<b>Signature:</b>

typescript
export interface MultiFactorAssertion 

Properties

PropertyTypeDescription
factorId(typeof FactorIdMap<!-- -->)[keyof typeof FactorIdMap<!-- -->]The identifier of the second factor.

MultiFactorAssertion.factorId

The identifier of the second factor.

<b>Signature:</b>

typescript
readonly factorId: (typeof FactorIdMap)[keyof typeof FactorIdMap];