We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 9 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(2)
我没有时间实现 Google OAuth2,
但我可以建议您使用这个开源库。
android 的通用 oauth2 登录
涵盖 Facebook、Foursquare、Gowalla 的 OAuth2 实现。
我认为 Google 应该很容易扩展,因为 OAuth2 几乎是标准的,并且社区在加载用户配置文件部分方面主要存在差异。
I didn't have time to implement Google OAuth2,
but I can suggest you to make use of this open source library.
generic oauth2 login for android
covers OAuth2 implementation for Facebook, Foursquare, Gowalla.
I would assume that should be easy to extend for Google, as OAuth2 is pretty much standard and communities differs mostly on loading user profile part.
我已经在网络方面完成了一些工作。谷歌表示,Android 的 oauth 身份验证过程类似。我发现此链接包含一个示例,显示如何使用OAuth with SMTP。它支持多种语言,包括 Java。
我还有一个关于如何执行 C# 中的 Oauth。
I've done some of this work on the web side of things. Google says the oauth authentication for Android is similar in it's process. I found this link with a sample showing using OAuth with SMTP. It's available in a few languages, including Java.
I also have a C# sample of how to perform the Oauth in C#.