https.CallableRequest interface

The request used to call a callable function.

Signature:

export interface CallableRequest<T = any> 

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.
data T The parameters used by a client when calling this function.
instanceIdToken string An unverified token for a Firebase Instance ID.
rawRequest Request The raw request handled by the callable.

https.CallableRequest.app

The result of decoding and verifying a Firebase AppCheck token.

Signature:

app?: AppCheckData;

https.CallableRequest.auth

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

Signature:

auth?: AuthData;

https.CallableRequest.data

The parameters used by a client when calling this function.

Signature:

data: T;

https.CallableRequest.instanceIdToken

An unverified token for a Firebase Instance ID.

Signature:

instanceIdToken?: string;

https.CallableRequest.rawRequest

The raw request handled by the callable.

Signature:

rawRequest: Request;