The OAuth access token used to initialize the OAuthCredential.
Optional idToken
idToken:string
The OAuth ID token used to initialize the OAuthCredential.
Optional rawNonce
rawNonce:string
The raw nonce associated with the ID token. It is required when an ID token
with a nonce field is provided. The SHA-256 hash of the raw nonce must match
the nonce field in the ID token.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2022-07-27 UTC."],[],[],null,["# OAuthCredentialOptions | JavaScript SDK\n\n- [firebase](/docs/reference/js/v8/firebase).\n- [auth](/docs/reference/js/v8/firebase.auth).\n- OAuthCredentialOptions\n=====================================================================================================================\n\nDefines the options for initializing an\n[firebase.auth.OAuthCredential](/docs/reference/js/v8/firebase.auth.OAuthCredential). For ID tokens with nonce claim,\nthe raw nonce has to also be provided.\n\nIndex\n-----\n\n### Properties\n\n- [accessToken](/docs/reference/js/v8/firebase.auth.OAuthCredentialOptions#accesstoken)\n- [idToken](/docs/reference/js/v8/firebase.auth.OAuthCredentialOptions#idtoken)\n- [rawNonce](/docs/reference/js/v8/firebase.auth.OAuthCredentialOptions#rawnonce)\n\nProperties\n----------\n\n### Optional accessToken\n\naccessToken: string \nThe OAuth access token used to initialize the OAuthCredential.\n\n### Optional idToken\n\nidToken: string \nThe OAuth ID token used to initialize the OAuthCredential.\n\n### Optional rawNonce\n\nrawNonce: string \nThe raw nonce associated with the ID token. It is required when an ID token\nwith a nonce field is provided. The SHA-256 hash of the raw nonce must match\nthe nonce field in the ID token."]]
Defines the options for initializing an firebase.auth.OAuthCredential. For ID tokens with nonce claim, the raw nonce has to also be provided.