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();
所以,我怎麼可以轉發令牌到我的後臺?