https.CallableContext interface

The interface for metadata for the API as passed to the handler.

Signature:

exportinterfaceCallableContext

Properties

PropertyTypeDescription
appAppCheckDataThe result of decoding and verifying a Firebase AppCheck token.
authAuthDataThe result of decoding and verifying a Firebase Auth ID token.
instanceIdTokenstringAn unverified token for a Firebase Instance ID.
rawRequestRequestThe raw request handled by the callable.

https.CallableContext.app

The result of decoding and verifying a Firebase AppCheck token.

Signature:

app?:AppCheckData;

https.CallableContext.auth

The result of decoding and verifying a Firebase Auth ID token.

Signature:

auth?:AuthData;

https.CallableContext.instanceIdToken

An unverified token for a Firebase Instance ID.

Signature:

instanceIdToken?:string;

https.CallableContext.rawRequest

The raw request handled by the callable.

Signature:

rawRequest:Request;

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-09-13 UTC.