<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@firebase/auth-types](./auth-types.md) &gt; [PhoneAuthProvider](./auth-types.phoneauthprovider.md) &gt; [(constructor)](./auth-types.phoneauthprovider._constructor_.md)

## PhoneAuthProvider.(constructor)

Constructs a new instance of the `PhoneAuthProvider` class

<b>Signature:</b>

```typescript
constructor(auth?: Auth | null);
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  auth | [Auth](./auth-types.auth.md) \| null | The Firebase Auth instance in which sign-ins should occur. |

## Remarks

Uses the default Auth instance if unspecified.

