在谷歌搜索“google identity toolkit javascript”时,我注意到有两个版本可用。
Products►Google Identity Platform►Identity Toolkit►Identity Toolkit for Websites
Products►Google Identity Platform►Identity Toolkit►Identity Toolkit for Websites v2
如果从 Products►Google Identity Platform►Identity Toolkit 开始无法到达 v2,因为所有内容都引用 v1 而没有提及 v2。
- 那么,v2 怎么样?
- 新项目是否应该使用 v2?
此外,当从 Products►Google Identity Platform►Identity Toolkit 开始时无法访问 v1 文档的另一个“变体”,即位于 at this link 的文档。它提供的信息与 v2(入门页面)非常相似,并且可能是“网站身份工具包”的实际文档。
此外,当人们将 v1 与几乎相同的 v2 文档进行比较时,人们可能会注意到“GITkit”一词的使用已被“Identity Toolkit”所取代:
v1:
Introduction to Federated Login and Google Identity Toolkit
Google Identity Toolkit (GITkit) enables the Relying Parties to use internet standard protocols, OpenID 2.0 and OAuth, to verify that a user owns an account on their web sites
v2:
Introduction to Federated Login and [Google]* Identity Toolkit
Google Identity Toolkit (Identity Toolkit) enables the Relying Parties to use internet standard protocols, OpenID 2.0 and OAuth, to verify that a user owns an account on their web sites
- 我将 Google 放在方括号中,因为虽然标题包含该词,但左侧菜单条目却没有。
这种转变的原因是什么?这只是文档中的重构工作(也可能是库中的重构工作),还是底层技术发生了变化并包括这两个版本之间的不兼容性?
Google 或 GITkit 开发人员之一是否发布了一份声明,解释了路线图、跨版本的更改、“Identity Toolkit”的当前状态以及 GITkit 的逐步淘汰?
最佳答案
请使用与 v3 相对应的第一个链接的文档,v3 是最新版本,也是 Google 积极支持和推荐的版本。 v2 是一个较旧的版本,没有积极的开发。
关于javascript - "Identity Toolkit for Websites"与 "Identity Toolkit for Websites v2"(2015 年 8 月),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31899175/