ImpersonateAuthenticated interface
Stay organized with collections
Save and categorize content based on your preferences.
Interface representing the impersonation of an authenticated user.
Signature:
export interface ImpersonateAuthenticated
Properties
Property |
Type |
Description |
authClaims |
AuthClaims |
Evaluate the auth policy with a customized JWT auth token. Should follow the Firebase Auth token format. https://firebase.google.com/docs/data-connect/cel-reference#auth-token-contents |
unauthenticated |
never |
Both authClaims and unauthenticated are mutually exclusive fields and should not be both set. |
ImpersonateAuthenticated.authClaims
Evaluate the auth policy with a customized JWT auth token. Should follow the Firebase Auth token format. https://firebase.google.com/docs/data-connect/cel-reference#auth-token-contents
Signature:
authClaims: AuthClaims;
Example
A verified user may have the following authClaims
:
{ "sub": "uid", "email_verified": true }
ImpersonateAuthenticated.unauthenticated
Both authClaims
and unauthenticated
are mutually exclusive fields and should not be both set.
Signature:
unauthenticated?: never;
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 2025-03-05 UTC.
[null,null,["Last updated 2025-03-05 UTC."],[],[],null,["Interface representing the impersonation of an authenticated user.\n\n**Signature:** \n\n export interface ImpersonateAuthenticated \n\nProperties\n\nImpersonateAuthenticated.authClaims\n\nEvaluate the auth policy with a customized JWT auth token. Should follow the Firebase Auth token format. https://firebase.google.com/docs/data-connect/cel-reference#auth-token-contents\n\n**Signature:** \n\n authClaims: AuthClaims;\n\nExample\n\nA verified user may have the following `authClaims`: \n\n { \"sub\": \"uid\", \"email_verified\": true }\n\nImpersonateAuthenticated.unauthenticated\n\nBoth `authClaims` and `unauthenticated` are mutually exclusive fields and should not be both set.\n\n**Signature:** \n\n unauthenticated?: never;"]]