Stay organized with collections
Save and categorize content based on your preferences.
Properties
Optional accessToken
accessToken: string
Optional idToken
idToken: string
Optional rawNonce
rawNonce: string
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2022-07-27 UTC.
[null,null,["Last updated 2022-07-27 UTC."],[],[],null,["- [firebase](/docs/reference/node/firebase).\n- [auth](/docs/reference/node/firebase.auth).\n- OAuthCredentialOptions \nDefines the options for initializing an\n[firebase.auth.OAuthCredential](/docs/reference/node/firebase.auth.OAuthCredential). For ID tokens with nonce claim,\nthe raw nonce has to also be provided.\n\nIndex\n\nProperties\n\n- [accessToken](/docs/reference/node/firebase.auth.OAuthCredentialOptions#accesstoken)\n- [idToken](/docs/reference/node/firebase.auth.OAuthCredentialOptions#idtoken)\n- [rawNonce](/docs/reference/node/firebase.auth.OAuthCredentialOptions#rawnonce)\n\nProperties\n\nOptional accessToken \naccessToken: string \nThe OAuth access token used to initialize the OAuthCredential.\n\nOptional idToken \nidToken: string \nThe OAuth ID token used to initialize the OAuthCredential.\n\nOptional rawNonce \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.