fixed so the code compiles

This commit is contained in:
2026-07-11 11:27:43 -04:00
parent 02ac5f9593
commit 1f99268588
1183 changed files with 281990 additions and 813 deletions
+28
View File
@@ -0,0 +1,28 @@
/**
* 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;