oAuth 2.0 的 Chrome 扩展示例 [英] Chrome Extension example of oAuth 2.0
本文介绍了oAuth 2.0 的 Chrome 扩展示例的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
chrome 开发者扩展教程使用过时的 oAuth 1,该 oAuth 1 将于 2015 年 4 月逐步淘汰:https://developer.chrome.com/extensions/tut_oauth
The chrome developer extension tutorials use an outdated oAuth 1 that will be phased out in April 2015: https://developer.chrome.com/extensions/tut_oauth
是否有在 chrome 扩展中实现 oAuth 2.0 的教程?
Is there a tutorial of implementing oAuth 2.0 inside a chrome extension?
推荐答案
正确的答案是使用 GoogleIdentity api,在幕后使用 oAuth 2.0 端点来https://.chromiumapp.org/* 网址.
The right answer was to use Google Identity api, which under the covers uses oAuth 2.0 endpoints to https://.chromiumapp.org/* urls.
这篇关于oAuth 2.0 的 Chrome 扩展示例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文