<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@firebase/auth](./auth.md) &gt; [multiFactor](./auth.multifactor.md)

## multiFactor() function

The [MultiFactorUser](./auth.multifactoruser.md) corresponding to the user.

<b>Signature:</b>

```typescript
export declare function multiFactor(user: User): MultiFactorUser;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  user | [User](./auth.user.md) | The user. |

<b>Returns:</b>

[MultiFactorUser](./auth.multifactoruser.md)

## Remarks

This is used to access all multi-factor properties and operations related to the user.

