passport-headhunter-源码

上传者: 42134878 | 上传时间: 2021-07-12 19:08:49 | 文件大小: 18KB | 文件类型: ZIP
Passport-HeadHunter 使用 OAuth 2.0 API 与进行身份验证的策略。 此模块允许您在 Node.js 应用程序中使用 HeadHunter 进行身份验证。 通过插入 Passport,HeadHunter 身份验证可以轻松且不引人注目地集成到任何支持式中间件(包括应用程序或框架中。 安装 $ npm install passport-headhunter 用法 配置策略 HeadHunter 身份验证策略使用 HeadHunter 帐户和 OAuth 2.0 令牌对用户进行身份验证。 该战略需要verify的回调,它接受这些凭据,并呼吁done提供用户,以及options指定的客户端ID,客户端密钥,以及回调URL。 passport.use(new HeadHunterStrategy({ clientID: HEADHUNTER_CLIEN

文件下载

资源详情

[{"title":"( 30 个子文件 18KB ) passport-headhunter-源码","children":[{"title":"passport-headhunter-master","children":[{"title":".jshintrc <span style='color:#111;'> 299B </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 77B </span>","children":null,"spread":false},{"title":"package.json <span style='color:#111;'> 957B </span>","children":null,"spread":false},{"title":"Makefile <span style='color:#111;'> 1.45KB </span>","children":null,"spread":false},{"title":".travis.yml <span style='color:#111;'> 225B </span>","children":null,"spread":false},{"title":"support","children":[{"title":"mk","children":[{"title":"notes.mk <span style='color:#111;'> 86B </span>","children":null,"spread":false},{"title":"jshint.mk <span style='color:#111;'> 133B </span>","children":null,"spread":false},{"title":"istanbul.mk <span style='color:#111;'> 542B </span>","children":null,"spread":false},{"title":"mocha.mk <span style='color:#111;'> 299B </span>","children":null,"spread":false},{"title":"node.mk <span style='color:#111;'> 86B </span>","children":null,"spread":false},{"title":"coveralls.mk <span style='color:#111;'> 150B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"LICENSE <span style='color:#111;'> 1.06KB </span>","children":null,"spread":false},{"title":"examples","children":[{"title":"login","children":[{"title":"app.js <span style='color:#111;'> 4.42KB </span>","children":null,"spread":false},{"title":"package.json <span style='color:#111;'> 384B </span>","children":null,"spread":false},{"title":"views","children":[{"title":"login.ejs <span style='color:#111;'> 77B </span>","children":null,"spread":false},{"title":"layout.ejs <span style='color:#111;'> 354B </span>","children":null,"spread":false},{"title":"index.ejs <span style='color:#111;'> 142B </span>","children":null,"spread":false},{"title":"account.ejs <span style='color:#111;'> 167B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"README.md <span style='color:#111;'> 2.35KB </span>","children":null,"spread":false},{"title":"lib","children":[{"title":"profile.js <span style='color:#111;'> 494B </span>","children":null,"spread":false},{"title":"index.js <span style='color:#111;'> 223B </span>","children":null,"spread":false},{"title":"strategy.js <span style='color:#111;'> 3.51KB </span>","children":null,"spread":false}],"spread":true},{"title":".npmignore <span style='color:#111;'> 186B </span>","children":null,"spread":false},{"title":"test","children":[{"title":"bootstrap","children":[{"title":"node.js <span style='color:#111;'> 58B </span>","children":null,"spread":false}],"spread":true},{"title":"data","children":[{"title":"example.json <span style='color:#111;'> 574B </span>","children":null,"spread":false}],"spread":false},{"title":"strategy.test.js <span style='color:#111;'> 1.79KB </span>","children":null,"spread":false},{"title":"package.test.js <span style='color:#111;'> 407B </span>","children":null,"spread":false},{"title":"strategy.options.test.js <span style='color:#111;'> 1.70KB </span>","children":null,"spread":false},{"title":"strategy.profile.test.js <span style='color:#111;'> 2.16KB </span>","children":null,"spread":false},{"title":"profile.test.js <span style='color:#111;'> 858B </span>","children":null,"spread":false}],"spread":true}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明