如何使用Gmail帐户进行身份验证在Android上的应用程序? [英] How to use Gmail account to authenticate the app in android?

查看:113
本文介绍了如何使用Gmail帐户进行身份验证在Android上的应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Android的我怎么可以鉴别的Gmail帐户的用户。是他们的任何API或支持可用于Android。

In android how can I authenticate the user by Gmail account. Is their any api or support available for android.

谢谢...

推荐答案

是的,你可以在Android中使用OAuth。有一个相当详细的岗位上这样的:

Yes, you can use OAuth in Android. There's a fairly detailed post on this:

  • <一个href="http://blog.doityourselfandroid.com/2011/04/12/oauth-android-google-apis-client-library-java/">OAuth使用谷歌的API客户端库对Java
  • 的Andr​​ oid
  • OAuth in Android using the Google APIs Client Library for Java

另外,还有一些你可能会考虑用于此目的另外两个Java库:

There are also two other Java libraries that you might consider for this purpose:

  • Scribe Java API (also supports using several other identity providers)
  • OAuth Signpost

这篇关于如何使用Gmail帐户进行身份验证在Android上的应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆