是Android云端2设备消息(C2DM)与谷歌的两步验证的兼容? [英] Is Android Cloud 2 Device Messaging (C2DM) compatible with Google's 2-step verification?

查看:133
本文介绍了是Android云端2设备消息(C2DM)与谷歌的两步验证的兼容?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在阅读了关于Android的云2设备通讯(C2DM)和所有的文件提到的ClientLogin作为身份验证方法。然而, ClienLogin 信息页面明确规定其不与兼容2 -step验证和使用的OAuth2 recomments。
我可以使用的OAuth2作为一个ClientLogin的替代C2DM?我想使应用体验尽可能无缝甚至对谁启用了两步验证的用户。

I've been reading up on Android's cloud 2 device messaging (C2DM) and all the documentation mention ClientLogin as the authentication method. However the ClienLogin info page specifically states its not compatible with 2-step verification and recomments using OAuth2. Can I use OAuth2 as a replacement for ClientLogin for C2DM? I want to make the application experience as seamless as possible even for users who have 2-step verification enabled.

推荐答案

这是获取与C2DM认证的帐户是您在为C2DM签署了提供极帐户。只要该帐户不使用两步骤验证,一切都很好。它不使用用户的凭据。

The account that gets authenticated with C2DM is the pole account that you provided when you signed up for C2DM. As long as that account does not use 2-step verification, everything is fine. It does not use the user's credentials.

相反,它不使用用户的凭据推送消息。用户必须登录到谷歌服务的Andr​​oid设备上,但他们设置了自己的时间。一旦成立,一切看起来都一样你作为一个开发者。

Rather, it does not use the user's credentials to push messages. The user must be signed in to Google services on their Android device, but they set that up on their own time. Once it is set up, everything looks the same to you as a developer.

这篇关于是Android云端2设备消息(C2DM)与谷歌的两步验证的兼容?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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