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



Optional auth

auth: { token: firebase.auth.DecodedIdToken; uid: string }

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

Type declaration

  • token: firebase.auth.DecodedIdToken
  • uid: string

Optional instanceIdToken

instanceIdToken: string

An unverified token for a Firebase Instance ID.


rawRequest: Request

The raw request handled by the callable.