The Firebase JS SDK is now in BETA!
This EAP site is no longer maintained. See the official Firebase Documentation site for the latest documentation and information about the Firebase JS SDK.

Home > @firebase/auth > PhoneMultiFactorGenerator > assertion

PhoneMultiFactorGenerator.assertion() method

Provides a PhoneMultiFactorAssertion to confirm ownership of the phone second factor.

Signature:

static assertion(credential: PhoneAuthCredential): PhoneMultiFactorAssertion;

Parameters

Parameter Type Description
credential PhoneAuthCredential

Returns:

PhoneMultiFactorAssertion

A PhoneMultiFactorAssertion which can be used with MultiFactorResolver.resolveSignIn()