<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@firebase/auth](./auth.md) &gt; [PhoneMultiFactorGenerator](./auth.phonemultifactorgenerator.md) &gt; [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)

