Google Identity Toolkit、Google OAuth、Firebase Auth 和 Google+ 登录有什么区别 [英] What is the difference between Google Identity Toolkit, Google OAuth, Firebase Auth and Google+ sign in
问题描述
据我所知,Google Identity Toolkit 提供了一个用于使用不同帐户(如 Facebook、Yahoo 等)登录的层,但这与 Google OAuth 实现有何不同?而关于Google+的登录,还是使用OAuth,但是只允许谷歌账号登录?
For my understanding, Google Identity Toolkit provides a layer for login with different accounts, like Facebook, Yahoo etc. but how does that differ from the Google OAuth implementation? And regarding Google+ sign in, it is still using OAuth, but only enables login for Google accounts?
推荐答案
截至 2018 年 12 月 28 日的更新:Google 正在推出一项名为 Cloud Identity Platform 的新服务.这基本上是面向所有 GCP 客户的 Firebase 身份验证.
Update as of December 28, 2018: Google is pushing a new service called Cloud Identity Platform. Which is basically Firebase Authentication just for all GCP customers.
与 Firebase 身份验证一样,此服务为任何身份验证平台提供了一个抽象层(从 GA 开始使用简单的 2 因素身份验证)
This service offers, like Firebase Authentication, an abstraction layer to any authentication platform (with easy 2-factor authentication starting at GA)
Google Sign-In 和 Smart Lock 都只是 Firebase 身份验证和 Cloud Identity Platform 客户端 SDK 使用的底层低级"技术.
Google Sign-In and Smart Lock are both only the underlying "low level" technologies used by the Firebase Authentication and Cloud Identity Platform client SDKs.
截至 2016 年 6 月 15 日的更新:原始答案(下方)中提到的指南似乎未及时更新 - Google Identity Toolkit 似乎即将淘汰,显然已被Firebase 身份验证,该指南中甚至没有提到.
Update as of June 15, 2016: It seems the guide mentioned in the original answer (below) is not kept up to date - the Google Identity Toolkit seems to be on its way out, apparently absorbed into the Firebase Authentication, which is not even mentioned in that guide.
检查当前 Google 身份验证解决方案的更好起点可能是登录 + 身份"图标href="https://developers.google.com/products/" rel="noreferrer">产品 页面.
Maybe a better starting point for checking the current Google authentication solutions might be the "Sign In + Identity" icon on the Products page.
原答案:
我最近看到了这份 Google Identity Platform 指南,用于在各种 Google 身份解决方案之间进行选择,这些解决方案可能会回答您的部分/所有问题:https://developers.google.com/identity/choose-auth
I recently saw this Google Identity Platform guide for choosing between various Google identity solutions which may answer some/all of your questions: https://developers.google.com/identity/choose-auth
这篇关于Google Identity Toolkit、Google OAuth、Firebase Auth 和 Google+ 登录有什么区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!