diff options
Diffstat (limited to 'node_modules/passport-strategy/lib/strategy.js')
| -rw-r--r-- | node_modules/passport-strategy/lib/strategy.js | 28 |
1 files changed, 0 insertions, 28 deletions
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; |
