HOWTO使用谷歌账户如登录 [英] Howto use Google Accounts as login

查看:181
本文介绍了HOWTO使用谷歌账户如登录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在考虑使用谷歌帐户的用户验证为我开发的服务。这将是一个客户端和服务器。我希望能够利用已签署的,在Android手机谷歌帐户,并用它作为我的服务器上验证。

I'm thinking about using Google Accounts as a user verification for a service I'm developing. This will be a client and server. I'm hoping to be able to use the already signed-in Google Account on the Android phone and use that as a verification on my server.

我在哪里可以找到这方面的信息?

Where can I find information about this?

是否有可能使用已登录的帐户在手机上还是必须要重新登录在我的应用程序?

Is it possible to use the already signed-in account on the phone or do I have to re-sign-in in my application?

推荐答案

有一类叫做 <一个href="http://developer.android.com/reference/android/accounts/AccountManager.html">AccountManager这就像一个注册表中的用户在线帐户。我想,这是你在找什么。

There's a class called AccountManager which acts like a registry for the users online account. I think this is what you are looking for.

还有一种叫做联合登录的谷歌,它允许用户登录使用他们的谷歌帐户。它更像是OpenID的

There's also something called Federated Login for Google, which allows users to login using their Google Account. Its more like OpenID

这篇关于HOWTO使用谷歌账户如登录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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