<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@firebase/auth](./auth.md) &gt; [OAuthProvider](./auth.oauthprovider.md) &gt; [(constructor)](./auth.oauthprovider._constructor_.md)

## OAuthProvider.(constructor)

Constructor for generic OAuth providers.

<b>Signature:</b>

```typescript
constructor(providerId: string);
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  providerId | string | Provider for which credentials should be generated. |

