GraphqlRequestExtensions contains additional information of GraphqlRequest.
| JSON representation |
|---|
{
"impersonate": {
object ( |
| Fields | |
|---|---|
impersonate |
Optional. If set, impersonate a request with given Firebase Auth context and evaluate the auth policies on the operation. If omitted, bypass any defined auth policies. |
Impersonation
Impersonation configures the Firebase Auth context to impersonate.
| JSON representation |
|---|
{ // Union field |
| Fields | |
|---|---|
Union field
|
|
unauthenticated |
Evaluate the auth policy as an unauthenticated request. Can only be set to true. |
authClaims |
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 authClaims of {"sub": |