Defines the options for initializing anfirebase.auth.OAuthCredential. For ID tokens with nonce claim,the raw nonce has to also be provided.

Index

Properties

Optional accessToken

accessToken:string

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 tokenwith a nonce field is provided. The SHA-256 hash of the raw nonce must matchthe nonce field in the ID token.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2022-07-27 UTC.