veritatisdoloremque
Version:
Monorepo for the Firebase JavaScript SDK
25 lines (14 loc) • 711 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@firebase/auth-types](./auth-types.md) > [PhoneAuthProvider](./auth-types.phoneauthprovider.md) > [(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.