mirror of
https://github.com/hanzoai/firebase-js-sdk.git
synced 2026-09-24 16:59:10 +00:00
* Support function links to function overloads. * Improve readability of headings for functions.
2.2 KiB
2.2 KiB
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 %}
PhoneMultiFactorGenerator class
Provider for generating a PhoneMultiFactorAssertion.
Signature:
export declare class PhoneMultiFactorGenerator
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
| FACTOR_ID | static |
string | The identifier of the phone second factor: phone. |
Methods
| Method | Modifiers | Description |
|---|---|---|
| assertion(credential) | static |
Provides a PhoneMultiFactorAssertion to confirm ownership of the phone second factor. |
PhoneMultiFactorGenerator.FACTOR_ID
The identifier of the phone second factor: phone.
Signature:
static FACTOR_ID: string;
PhoneMultiFactorGenerator.assertion()
Provides a PhoneMultiFactorAssertion to confirm ownership of the phone second factor.
This method does not work in a Node.js environment.
Signature:
static assertion(credential: PhoneAuthCredential): PhoneMultiFactorAssertion;
Parameters
| Parameter | Type | Description |
|---|---|---|
| credential | PhoneAuthCredential |
Returns:
A PhoneMultiFactorAssertion which can be used with MultiFactorResolver.resolveSignIn()