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:
A PhoneMultiFactorAssertion which can be used with MultiFactorResolver.resolveSignIn()