0
我正在将Firebase身份验证集成到我的Android应用中。成功登录后,Android应用程序将调用在Google App Engine上运行的一些Google Cloud Endpoints。从Android向Google Cloud端点发送Firebase令牌
因此,我需要将从身份验证中收到的Firebase令牌传递给Google Cloud Endpoints。我使用下面的代码来调用端点(source)
MyApi.Builder builder = new MyApi.Builder(AndroidHttp.newCompatibleTransport(),
new AndroidJsonFactory(), null)
myApiService = builder.build();
myApiService.sayHi(name).execute();
所以,我怎么可以转发令牌到我的后台?