无论如何,以验证在Android应用程序中使用谷歌企业应用套件用户? [英] Anyway to Authenticate a user using Google Apps in an Android application?

查看:118
本文介绍了无论如何,以验证在Android应用程序中使用谷歌企业应用套件用户?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道是否有人知道的一种方式,我可以验证一个谷歌企业应用套件的用户在Android应用程序?

I was wondering if anyone knows of a way I can Authenticate a Google Apps User in a Android Application?

一种方法,我知道的是采取可能需要他们的用户名和密码在Android的视图,并使用ClientLogin用户界面(的 HTTP://$c$c.google.com/apis/accounts/docs/AuthForInstalledApps.html

One approach I know of is to take could take their username and password in a android view, and use the clientLogin interface (http://code.google.com/apis/accounts/docs/AuthForInstalledApps.html).

不过,我在想,如果有一个不同的方法,可能推到一个浏览器窗口,它会显示在谷歌登录该域,但我不知道怎么弄的细节返回给应用程序,经过认证完成的。

However I was wondering if there was a different approach, maybe pushing to a browser window where it would show the google login for that domain, but I would not know how to get the details back to the application, after the authentication is done.

这是它将如何做任何想法?

Any ideas on how it would be done?

问候

标记

推荐答案

您也可以尝试使用OAuth。它是由谷歌企业应用套件的支持,并拥有 Java客户端库

You could also try using OAuth. It's supported by Google Apps, and has a Java client library.

这篇关于无论如何,以验证在Android应用程序中使用谷歌企业应用套件用户?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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