【问题标题】:User authentication through Google plus in android app通过 Google plus 在 android 应用程序中进行用户身份验证
【发布时间】:2012-08-25 01:09:15
【问题描述】:

我正在使用 Android 应用程序。 应用程序中的用户身份验证具有三种方式。 首先是使用查询完成的简单身份验证。 其次是 Facebook。它也完成了。

我正在研究 Google plus 身份验证。但我无法找到 facebook 应用程序中提供的正确文档。

谁能指导我进行 google plus 身份验证?

【问题讨论】:

  • 我认为 Google Plus 没有自己的身份验证系统,它只是使用 Google 帐户,因此您可以使用 Google 身份验证系统构建登录系统,并且拥有 Google+ 帐户的每个人都可以使用它.

标签: java android authentication google-plus


【解决方案1】:

您可能想看看 Android SDK (released on 09/26) 中的“Google Play Services”。

Google Play 服务是由 Google Play 商店提供的平台 提供与 Google 产品(例如 Google+)的集成 安卓应用。 Google Play 服务框架由一个 在设备上运行的服务组件和瘦客户端库 与您的应用一起打包。

以下组件包含在 Google Play 服务 v1 中,相应的客户端 API 包含在客户端库中:

  • OAuth 2.0 身份验证
  • Google+ 登录
  • Google +1 按钮

以下是 Google 开发者网站上的链接: https://developers.google.com/android/google-play-services/index

【讨论】:

  • Google Play 服务现已发布,可从 SDK 管理器下载!
【解决方案2】:

要补充 chrkad 的建议,还有 Google+ 移动 API: https://developers.google.com/+/mobile/

对于 Android,特别是: https://developers.google.com/+/mobile/android/

这些服务将使您能够获取给定帐户的 plus.me 范围,然后您可以将其用于身份验证和用户凭据。使用传统的 OAUTH2 流程,您现在就可以做到这一点,一旦 API 发布,它会更容易。

【讨论】:

    猜你喜欢
    • 2017-03-03
    • 1970-01-01
    • 1970-01-01
    • 2011-06-19
    • 2018-04-04
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多