GraphqlRequestExtensions
Stay organized with collections
Save and categorize content based on your preferences.
GraphqlRequestExtensions contains additional information of GraphqlRequest
.
JSON representation |
{
"impersonate": {
object (Impersonation )
}
} |
Fields |
impersonate |
object (Impersonation )
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 kind can be only one of the following:
"unauthenticated": boolean,
"authClaims": {
object
}
// End of list of possible types for union field kind .
} |
Fields |
Union field kind . kind can be only one of the following:
|
unauthenticated |
boolean
Evaluate the auth policy as an unauthenticated request. Can only be set to true.
|
authClaims |
object (Struct format)
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": , "email_verified": true}
|
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 2024-09-20 UTC.
[null,null,["Last updated 2024-09-20 UTC."],[],[],null,["# GraphqlRequestExtensions contains additional information of `GraphqlRequest`.\n\n| JSON representation |\n|-------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"impersonate\": { object (/docs/reference/data-connect/rest/v1beta/GraphqlRequestExtensions#Impersonation) } } ``` |\n\n| Fields ||\n|---------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `impersonate` | `object (`[Impersonation](/docs/reference/data-connect/rest/v1beta/GraphqlRequestExtensions#Impersonation)`)` 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. |\n\nImpersonation\n-------------\n\nImpersonation configures the Firebase Auth context to impersonate.\n\n| JSON representation |\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { // Union field `kind` can be only one of the following: \"unauthenticated\": boolean, \"authClaims\": { object } // End of list of possible types for union field `kind`. } ``` |\n\n| Fields ||\n|-------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Union field `kind`. `kind` can be only one of the following: ||\n| `unauthenticated` | `boolean` Evaluate the auth policy as an unauthenticated request. Can only be set to true. |\n| `authClaims` | `object (`[Struct](https://protobuf.dev/reference/protobuf/google.protobuf/#struct)` format)` Evaluate the auth policy with a customized JWT auth token. Should follow the Firebase Auth token format. \u003chttps://firebase.google.com/docs/rules/rules-and-auth\u003e For example: a verified user may have authClaims of {\"sub\": , \"email_verified\": true} |"]]