Marketplace móvil para negocios locales mexicanos. Estructura inicial: - apps/backend (NestJS API) - apps/frontend (React Web) - apps/mobile (Expo/React Native) - apps/mcp-server (Claude MCP Server) - apps/whatsapp-service (WhatsApp Business API) - database/ (PostgreSQL DDL) - docs/ (Documentación) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
29 lines
567 B
JavaScript
29 lines
567 B
JavaScript
/**
|
|
* 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;
|