diff options
| author | nanalelfe <nargiza.nosirova@mail.utoronto.ca> | 2016-07-28 02:20:52 +0000 |
|---|---|---|
| committer | nanalelfe <nargiza.nosirova@mail.utoronto.ca> | 2016-07-28 02:20:52 +0000 |
| commit | 4cff38c8f7b65dab1fd72ea835ea7288327d1056 (patch) | |
| tree | ac93acd69e77eef1e352af953d56238d70ea9c5d /node_modules/passport-strategy/lib | |
| parent | e11dd98c9a55cd1742d221e3b1ea90d31e240fa8 (diff) | |
Fixed admin bug
Diffstat (limited to 'node_modules/passport-strategy/lib')
| -rw-r--r-- | node_modules/passport-strategy/lib/index.js | 15 | ||||
| -rw-r--r-- | node_modules/passport-strategy/lib/strategy.js | 28 |
2 files changed, 0 insertions, 43 deletions
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; |
