| Server IP : 68.183.124.220 / Your IP : 216.73.216.141 Web Server : Apache/2.4.18 (Ubuntu) System : Linux Sandbox-A 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64 User : gavin ( 1000) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/gavin/workspace/readjs/node_modules/passport-strategy/ |
Upload File : |
{
"_args": [
[
{
"raw": "passport-strategy@1.x.x",
"scope": null,
"escapedName": "passport-strategy",
"name": "passport-strategy",
"rawSpec": "1.x.x",
"spec": ">=1.0.0 <2.0.0",
"type": "range"
},
"/home/gavin/workspace/meanjs/node_modules/passport"
]
],
"_from": "passport-strategy@>=1.0.0 <2.0.0",
"_id": "passport-strategy@1.0.0",
"_inCache": true,
"_location": "/passport-strategy",
"_npmUser": {
"name": "jaredhanson",
"email": "jaredhanson@gmail.com"
},
"_npmVersion": "1.2.25",
"_phantomChildren": {},
"_requested": {
"raw": "passport-strategy@1.x.x",
"scope": null,
"escapedName": "passport-strategy",
"name": "passport-strategy",
"rawSpec": "1.x.x",
"spec": ">=1.0.0 <2.0.0",
"type": "range"
},
"_requiredBy": [
"/passport",
"/passport-local",
"/passport-oauth1",
"/passport-oauth2"
],
"_resolved": "https://registry.npmjs.org/passport-strategy/-/passport-strategy-1.0.0.tgz",
"_shasum": "b5539aa8fc225a3d1ad179476ddf236b440f52e4",
"_shrinkwrap": null,
"_spec": "passport-strategy@1.x.x",
"_where": "/home/gavin/workspace/meanjs/node_modules/passport",
"author": {
"name": "Jared Hanson",
"email": "jaredhanson@gmail.com",
"url": "http://www.jaredhanson.net/"
},
"bugs": {
"url": "http://github.com/jaredhanson/passport-strategy/issues"
},
"dependencies": {},
"description": "An abstract class implementing Passport's strategy API.",
"devDependencies": {
"chai": "1.x.x",
"mocha": "1.x.x"
},
"directories": {},
"dist": {
"shasum": "b5539aa8fc225a3d1ad179476ddf236b440f52e4",
"tarball": "https://registry.npmjs.org/passport-strategy/-/passport-strategy-1.0.0.tgz"
},
"engines": {
"node": ">= 0.4.0"
},
"homepage": "https://github.com/jaredhanson/passport-strategy#readme",
"keywords": [
"passport",
"strategy"
],
"licenses": [
{
"type": "MIT",
"url": "http://www.opensource.org/licenses/MIT"
}
],
"main": "./lib",
"maintainers": [
{
"name": "jaredhanson",
"email": "jaredhanson@gmail.com"
}
],
"name": "passport-strategy",
"optionalDependencies": {},
"readme": "# passport-strategy\n\n[](http://travis-ci.org/jaredhanson/passport-strategy)\n[](https://coveralls.io/r/jaredhanson/passport-strategy)\n[](http://david-dm.org/jaredhanson/passport-strategy)\n\n\nAn abstract class implementing [Passport](http://passportjs.org/)'s strategy\nAPI.\n\n## Install\n\n $ npm install passport-strategy\n\n## Usage\n\nThis module exports an abstract `Strategy` class that is intended to be\nsubclassed when implementing concrete authentication strategies. Once\nimplemented, such strategies can be used by applications that utilize Passport\nmiddleware for authentication.\n\n#### Subclass Strategy\n\nCreate a new `CustomStrategy` constructor which inherits from `Strategy`:\n\n```javascript\nvar util = require('util')\n , Strategy = require('passport-strategy');\n\nfunction CustomStrategy(...) {\n Strategy.call(this);\n}\n\nutil.inherits(CustomStrategy, Strategy);\n```\n\n#### Implement Authentication\n\nImplement `autheticate()`, performing the necessary operations required by the\nauthentication scheme or protocol being implemented.\n\n```javascript\nCustomStrategy.prototype.authenticate = function(req, options) {\n // TODO: authenticate request\n}\n```\n\n## Tests\n\n $ npm install\n $ npm test\n\n## Credits\n\n - [Jared Hanson](http://github.com/jaredhanson)\n\n## License\n\n[The MIT License](http://opensource.org/licenses/MIT)\n\nCopyright (c) 2011-2013 Jared Hanson <[http://jaredhanson.net/](http://jaredhanson.net/)>\n",
"readmeFilename": "README.md",
"repository": {
"type": "git",
"url": "git://github.com/jaredhanson/passport-strategy.git"
},
"scripts": {
"test": "node_modules/.bin/mocha --reporter spec --require test/bootstrap/node test/*.test.js"
},
"testling": {
"browsers": [
"chrome/latest"
],
"harness": "mocha",
"files": [
"test/bootstrap/testling.js",
"test/*.test.js"
]
},
"version": "1.0.0"
}