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. Signature: ```typescript export interface MultiFactorAssertion ``` ## Properties | Property | Type | Description | | --- | --- | --- | | [factorId](./auth.multifactorassertion.md#multifactorassertionfactorid) | (typeof [FactorIdMap](./auth.md#factorid))\[keyof typeof [FactorIdMap](./auth.md#factorid)\] | The identifier of the second factor. | ## MultiFactorAssertion.factorId The identifier of the second factor. Signature: ```typescript readonly factorId: (typeof FactorIdMap)[keyof typeof FactorIdMap]; ```