用于 Node.js 的 OAuth Wrapper
node-oauth ============ 一个简单的 Node.js Oauth API。 此 API 允许用户通过 Oauth 提供商进行身份验证,从而充当 OAuth 客户端。 它还支持 OAuth Echo,用于与第三方媒体提供商(如 TwitPic 和 yFrog)进行通信。 已经测试过 Twitter(http://twitter.com)、term.ie(http://term.ie/oauth/example/)、TwitPic 和 Yahoo!
要运行示例/测试,请安装 Mocha $ npm install -g mocha 并运行 $ mocha you-file-name.js:
变更历史 =============== * 0.10.2 * OAuth1/2: 添加了 .npmignore 以停止发布包中的测试和其他噪音 * 0.10.1 * OAuth1: 支持 HMAC-256 签名哈希(非标准,但常见的签名,例如 https://developer.adobe.com/commerce/webapi/get-started/authentication/gs-authentication-oauth/)(感谢 Martino Massalini) * OAuth1/2: 添加了 devcontainer 支持,可用于 Vscode(感谢 PinyiSong) * 0.10.0 * OAuth2: 不再允许重复的回调“在错误”情况下传播到调用代码(googleapi 似乎经常这样做) * 0.9.15 * OAuth2: 允许指定代理 * 0.9.14 * OAuth2: 扩展“成功”的令牌响应,以包括 2xx 范围内的任何内容。 * 0.9.13 * OAuth2: 修复了“createCredentials() 已过时,请使用 tls.createSecureContext 代替”的消息。 (感谢 AJ ONeal) * 0.9.12 * OAuth1/2: 现在可以直接传递 Buffer 实例用于 PUT+POST(感谢 Evan Prodromou) * OAuth1: 改进与与原型有关的库的互操作性。 (感谢 Jose Ignacio Andres) * OAuth2: 添加了 PUT 支持
[][koding] [koding]: https://koding.com/Teamwork?import=https://github.com/ciaranj/node-oauth/archive/master.zip&c=git1 [][Thinkful] [Thinkful]: http://start.thinkful.com/node/?utm_source=github&utm_medium=badge&utm_campaign=node-oauth
暂无开放 Issues,或尚未同步最近议题。