【问题标题】:Signpost Oauth authentification on android application安卓应用程序上的路标 Oauth 身份验证
【发布时间】:2012-07-22 17:38:18
【问题描述】:

我想在我的 android 应用程序上使用 google 帐户使用 Oauth 身份验证,这样用户就不需要创建新的登录名和密码,并且我不必处理身份验证,但 google 会在我的地方。我已经搜索了一段时间,但找不到有关如何使用 android 应用程序上的 google 帐户执行此操作的信息。有人知道吗?

【问题讨论】:

    标签: android authentication oauth signpost


    【解决方案1】:

    无需使用像 signpost 这样的特殊 OAuth 库。 Android 有一个 AccountManager,内置了 Google OAuth 支持。

    请参阅this answer 以获取有关如何使用它的简约示例。 Google 的帐号类型是com.google

    Google 也有一个step-by-step guide,说明如何使用access_token 实现此功能,然后调用 Google Tasks API。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-10-01
      • 2017-03-10
      • 1970-01-01
      • 2015-11-03
      • 1970-01-01
      相关资源
      最近更新 更多