Back to Firebase Js Sdk

PhoneMultiFactorEnrollInfoOptions interface

docs-devsite/auth.phonemultifactorenrollinfooptions.md

12.12.11.5 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 %}

PhoneMultiFactorEnrollInfoOptions interface

Options used for enrolling a second factor.

<b>Signature:</b>

typescript
export interface PhoneMultiFactorEnrollInfoOptions 

Properties

PropertyTypeDescription
phoneNumberstringPhone number to send a verification code to.
sessionMultiFactorSessionThe MultiFactorSession obtained via MultiFactorUser.getSession()<!-- -->.

PhoneMultiFactorEnrollInfoOptions.phoneNumber

Phone number to send a verification code to.

<b>Signature:</b>

typescript
phoneNumber: string;

PhoneMultiFactorEnrollInfoOptions.session

The MultiFactorSession obtained via MultiFactorUser.getSession()<!-- -->.

<b>Signature:</b>

typescript
session: MultiFactorSession;