【问题标题】:Use Google OAuth2 token from different platforms使用来自不同平台的 Google OAuth2 令牌
【发布时间】:2015-07-06 19:35:20
【问题描述】:

我使用 AccountManager 在 Android 设备上检索 Google 帐户。在它之后,我向用户询问具有一定范围的令牌,在我得到它之后,我想将它发送到服务器并使用令牌从后端进行 API 调用。

那么,我的问题是我可以为此使用 AccountManager 吗?还是只有 GoogleAuthUtil?

【问题讨论】:

    标签: android google-api accountmanager


    【解决方案1】:

    这听起来很像Cross-client identity 的用例。

    【讨论】:

      猜你喜欢
      • 2016-06-26
      • 1970-01-01
      • 2022-06-19
      • 2017-03-22
      • 1970-01-01
      • 2020-04-13
      • 1970-01-01
      • 2017-05-12
      相关资源
      最近更新 更多