Home > @firebase/auth > OAuthCredentialOptions
OAuthCredentialOptions interface
Defines the options for initializing an OAuthCredential.
Signature:
export interface OAuthCredentialOptions
Description
For ID tokens with nonce claim, the raw nonce has to also be provided.
Properties
| Property | Type | Description |
|---|---|---|
| accessToken? | string | (Optional) The OAuth access token used to initialize the OAuthCredential. |
| idToken? | string | (Optional) The OAuth ID token used to initialize the OAuthCredential. |
| rawNonce? | string | (Optional) The raw nonce associated with the ID token. |