aboutsummaryrefslogtreecommitdiff
path: root/node_modules/passport-strategy
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/passport-strategy')
-rw-r--r--node_modules/passport-strategy/.jshintrc20
-rw-r--r--node_modules/passport-strategy/.travis.yml15
-rw-r--r--node_modules/passport-strategy/LICENSE20
-rw-r--r--node_modules/passport-strategy/README.md61
-rw-r--r--node_modules/passport-strategy/lib/index.js15
-rw-r--r--node_modules/passport-strategy/lib/strategy.js28
-rw-r--r--node_modules/passport-strategy/package.json97
7 files changed, 0 insertions, 256 deletions
diff --git a/node_modules/passport-strategy/.jshintrc b/node_modules/passport-strategy/.jshintrc
deleted file mode 100644
index a07354b..0000000
--- a/node_modules/passport-strategy/.jshintrc
+++ /dev/null
@@ -1,20 +0,0 @@
-{
- "node": true,
-
- "bitwise": true,
- "camelcase": true,
- "curly": true,
- "forin": true,
- "immed": true,
- "latedef": true,
- "newcap": true,
- "noarg": true,
- "noempty": true,
- "nonew": true,
- "quotmark": "single",
- "undef": true,
- "unused": true,
- "trailing": true,
-
- "laxcomma": true
-}
diff --git a/node_modules/passport-strategy/.travis.yml b/node_modules/passport-strategy/.travis.yml
deleted file mode 100644
index 45f8624..0000000
--- a/node_modules/passport-strategy/.travis.yml
+++ /dev/null
@@ -1,15 +0,0 @@
-language: "node_js"
-node_js:
- - "0.4"
- - "0.6"
- - "0.8"
- - "0.10"
-
-before_install:
- - "npm install istanbul -g"
- - "npm install coveralls -g"
-
-script: "make ci-travis"
-
-after_success:
- - "make submit-coverage-to-coveralls"
diff --git a/node_modules/passport-strategy/LICENSE b/node_modules/passport-strategy/LICENSE
deleted file mode 100644
index ec885b5..0000000
--- a/node_modules/passport-strategy/LICENSE
+++ /dev/null
@@ -1,20 +0,0 @@
-(The MIT License)
-
-Copyright (c) 2011-2013 Jared Hanson
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of
-this software and associated documentation files (the "Software"), to deal in
-the Software without restriction, including without limitation the rights to
-use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
-the Software, and to permit persons to whom the Software is furnished to do so,
-subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
-FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
-COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
-IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/node_modules/passport-strategy/README.md b/node_modules/passport-strategy/README.md
deleted file mode 100644
index 71de07f..0000000
--- a/node_modules/passport-strategy/README.md
+++ /dev/null
@@ -1,61 +0,0 @@
-# passport-strategy
-
-[![Build](https://travis-ci.org/jaredhanson/passport-strategy.png)](http://travis-ci.org/jaredhanson/passport-strategy)
-[![Coverage](https://coveralls.io/repos/jaredhanson/passport-strategy/badge.png)](https://coveralls.io/r/jaredhanson/passport-strategy)
-[![Dependencies](https://david-dm.org/jaredhanson/passport-strategy.png)](http://david-dm.org/jaredhanson/passport-strategy)
-
-
-An abstract class implementing [Passport](http://passportjs.org/)'s strategy
-API.
-
-## Install
-
- $ npm install passport-strategy
-
-## Usage
-
-This module exports an abstract `Strategy` class that is intended to be
-subclassed when implementing concrete authentication strategies. Once
-implemented, such strategies can be used by applications that utilize Passport
-middleware for authentication.
-
-#### Subclass Strategy
-
-Create a new `CustomStrategy` constructor which inherits from `Strategy`:
-
-```javascript
-var util = require('util')
- , Strategy = require('passport-strategy');
-
-function CustomStrategy(...) {
- Strategy.call(this);
-}
-
-util.inherits(CustomStrategy, Strategy);
-```
-
-#### Implement Authentication
-
-Implement `autheticate()`, performing the necessary operations required by the
-authentication scheme or protocol being implemented.
-
-```javascript
-CustomStrategy.prototype.authenticate = function(req, options) {
- // TODO: authenticate request
-}
-```
-
-## Tests
-
- $ npm install
- $ npm test
-
-## Credits
-
- - [Jared Hanson](http://github.com/jaredhanson)
-
-## License
-
-[The MIT License](http://opensource.org/licenses/MIT)
-
-Copyright (c) 2011-2013 Jared Hanson <[http://jaredhanson.net/](http://jaredhanson.net/)>
diff --git a/node_modules/passport-strategy/lib/index.js b/node_modules/passport-strategy/lib/index.js
deleted file mode 100644
index a6fdfa7..0000000
--- a/node_modules/passport-strategy/lib/index.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/**
- * Module dependencies.
- */
-var Strategy = require('./strategy');
-
-
-/**
- * Expose `Strategy` directly from package.
- */
-exports = module.exports = Strategy;
-
-/**
- * Export constructors.
- */
-exports.Strategy = Strategy;
diff --git a/node_modules/passport-strategy/lib/strategy.js b/node_modules/passport-strategy/lib/strategy.js
deleted file mode 100644
index 5a7eb28..0000000
--- a/node_modules/passport-strategy/lib/strategy.js
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
- * Creates an instance of `Strategy`.
- *
- * @constructor
- * @api public
- */
-function Strategy() {
-}
-
-/**
- * Authenticate request.
- *
- * This function must be overridden by subclasses. In abstract form, it always
- * throws an exception.
- *
- * @param {Object} req The request to authenticate.
- * @param {Object} [options] Strategy-specific options.
- * @api public
- */
-Strategy.prototype.authenticate = function(req, options) {
- throw new Error('Strategy#authenticate must be overridden by subclass');
-};
-
-
-/**
- * Expose `Strategy`.
- */
-module.exports = Strategy;
diff --git a/node_modules/passport-strategy/package.json b/node_modules/passport-strategy/package.json
deleted file mode 100644
index 4ebe9b6..0000000
--- a/node_modules/passport-strategy/package.json
+++ /dev/null
@@ -1,97 +0,0 @@
-{
- "_args": [
- [
- "passport-strategy@1.x.x",
- "/home/humair/School/csc309/a4/solutions_repo/node_modules/passport"
- ]
- ],
- "_from": "passport-strategy@>=1.0.0 <2.0.0",
- "_id": "passport-strategy@1.0.0",
- "_inCache": true,
- "_installable": true,
- "_location": "/passport-strategy",
- "_npmUser": {
- "email": "jaredhanson@gmail.com",
- "name": "jaredhanson"
- },
- "_npmVersion": "1.2.25",
- "_phantomChildren": {},
- "_requested": {
- "name": "passport-strategy",
- "raw": "passport-strategy@1.x.x",
- "rawSpec": "1.x.x",
- "scope": null,
- "spec": ">=1.0.0 <2.0.0",
- "type": "range"
- },
- "_requiredBy": [
- "/passport"
- ],
- "_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/humair/School/csc309/a4/solutions_repo/node_modules/passport",
- "author": {
- "email": "jaredhanson@gmail.com",
- "name": "Jared Hanson",
- "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[![Build](https://travis-ci.org/jaredhanson/passport-strategy.png)](http://travis-ci.org/jaredhanson/passport-strategy)\n[![Coverage](https://coveralls.io/repos/jaredhanson/passport-strategy/badge.png)](https://coveralls.io/r/jaredhanson/passport-strategy)\n[![Dependencies](https://david-dm.org/jaredhanson/passport-strategy.png)](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"
- ],
- "files": [
- "test/*.test.js",
- "test/bootstrap/testling.js"
- ],
- "harness": "mocha"
- },
- "version": "1.0.0"
-}