<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@firebase/auth-types](./auth-types.md) &gt; [UserCredential](./auth-types.usercredential.md) &gt; [providerId](./auth-types.usercredential.providerid.md)

## UserCredential.providerId property

The provider which was used to authenticate the user.

<b>Signature:</b>

```typescript
providerId: string | null;
```
