https.CallableContext interface

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

Signature:

export interface CallableContext 

Properties

Property Type Description
app AppCheckData The result of decoding and verifying a Firebase AppCheck token.
auth AuthData The result of decoding and verifying a Firebase Auth ID token.
instanceIdToken string An unverified token for a Firebase Instance ID.
rawRequest Request The raw request handled by the callable.

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;

The raw request handled by the callable.

Signature:

rawRequest: Request;

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