voluptasmollitia
Version:
Monorepo for the Firebase JavaScript SDK
27 lines (15 loc) • 990 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@firebase/auth](./auth.md) > [PhoneMultiFactorGenerator](./auth.phonemultifactorgenerator.md) > [assertion](./auth.phonemultifactorgenerator.assertion.md)
## PhoneMultiFactorGenerator.assertion() method
Provides a [PhoneMultiFactorAssertion](./auth.phonemultifactorassertion.md) to confirm ownership of the phone second factor.
<b>Signature:</b>
```typescript
static assertion(credential: PhoneAuthCredential): PhoneMultiFactorAssertion;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| credential | [PhoneAuthCredential](./auth.phoneauthcredential.md) | |
<b>Returns:</b>
[PhoneMultiFactorAssertion](./auth.phonemultifactorassertion.md)
A [PhoneMultiFactorAssertion](./auth.phonemultifactorassertion.md) which can be used with [MultiFactorResolver.resolveSignIn()](./auth.multifactorresolver.resolvesignin.md)