https.CallableContext interface Stay organized with collections Save and categorize content based on your preferences.
The interface for metadata for the API as passed to the handler.
Signature:
exportinterfaceCallableContextProperties
| 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. |
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.