docs-devsite/auth.multifactorassertion.md
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 %}
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>
export interface MultiFactorAssertion
| Property | Type | Description |
|---|---|---|
| factorId | (typeof FactorIdMap<!-- -->)[keyof typeof FactorIdMap<!-- -->] | The identifier of the second factor. |
The identifier of the second factor.
<b>Signature:</b>
readonly factorId: (typeof FactorIdMap)[keyof typeof FactorIdMap];