Impersonation
import type { Impersonation } from "https://googleapis.deno.dev/v1/firebasedataconnect:v1.ts";
Impersonation configures the Firebase Auth context to impersonate.
interface Impersonation {
authClaims?: {};
[key: string]: any;
unauthenticated?: boolean;
}§Properties
§
authClaims?: {}
[src][key: string]: any;
Evaluate the auth policy with a customized JWT auth token. Should follow the Firebase Auth token format. https://firebase.google.com/docs/rules/rules-and-auth For example: a verified user may have auth_claims of {"sub": , "email_verified": true}