Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/google-app-engine/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Google app engine 在App Engine Python 3.7中断言应用程序的标识_Google App Engine_Python 3.7 - Fatal编程技术网

Google app engine 在App Engine Python 3.7中断言应用程序的标识

Google app engine 在App Engine Python 3.7中断言应用程序的标识,google-app-engine,python-3.7,Google App Engine,Python 3.7,AppEngine的Python2.7运行时提供了一种非常方便的方法,可以将一个应用程序连接到另一个AppEngine应用程序 如上链接所述,使用google.appengine.apipackage I的app\u identity库可以获得auth\u令牌,并将其插入urlfetch头中。接收请求时,我可以验证X-Appengine-Inbound-Appid标题信息 我知道urlfetch和google.appengine.api包在Python 3.7运行时中不可用 我的应用程序由几个G

AppEngine的Python2.7运行时提供了一种非常方便的方法,可以将一个应用程序连接到另一个AppEngine应用程序

如上链接所述,使用
google.appengine.api
package I的
app\u identity
库可以获得
auth\u令牌,并将其插入
urlfetch
头中。接收请求时,我可以验证
X-Appengine-Inbound-Appid
标题信息

我知道
urlfetch
google.appengine.api
包在Python 3.7运行时中不可用

我的应用程序由几个GAE项目组成,因此我使用此方法来验证My项目之间的api调用的身份(即,我不需要外部api/服务)。在AppEngine的Python3.7运行时中,建议采用什么方法来实现这一点