<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@firebase/auth-types](./auth-types.md) &gt; [IdTokenResult](./auth-types.idtokenresult.md) &gt; [signInProvider](./auth-types.idtokenresult.signinprovider.md)

## IdTokenResult.signInProvider property

The sign-in provider through which the ID token was obtained (anonymous, custom, phone, password, etc).

<b>Signature:</b>

```typescript
signInProvider: string | null;
```

## Remarks

Note, this does not map to provider IDs.

