<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@firebase/auth](./auth.md) &gt; [OAuthCredentialOptions](./auth.oauthcredentialoptions.md)

## OAuthCredentialOptions interface

Defines the options for initializing an [OAuthCredential](./auth.oauthcredential.md)<!-- -->.

<b>Signature:</b>

```typescript
export interface OAuthCredentialOptions 
```

## Remarks

For ID tokens with nonce claim, the raw nonce has to also be provided.

## Properties

|  Property | Type | Description |
|  --- | --- | --- |
|  [accessToken?](./auth.oauthcredentialoptions.accesstoken.md) | string | <i>(Optional)</i> The OAuth access token used to initialize the [OAuthCredential](./auth.oauthcredential.md)<!-- -->. |
|  [idToken?](./auth.oauthcredentialoptions.idtoken.md) | string | <i>(Optional)</i> The OAuth ID token used to initialize the [OAuthCredential](./auth.oauthcredential.md)<!-- -->. |
|  [rawNonce?](./auth.oauthcredentialoptions.rawnonce.md) | string | <i>(Optional)</i> The raw nonce associated with the ID token. |

