UNPKG

@denz93/vendure-plugin-simple-auth

Version:

Allow customers login using email and verification code (One time login)

18 lines 769 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.STRATEGY_NAME = exports.DEFAULT_OPTIONS = exports.EMAIL_TEMPLATE_NAME = exports.EMAIL_EVENT_NAME = exports.SIMPLE_AUTH_PLUGIN_LOG_CONTEXT = exports.SIMPLE_AUTH_PLUGIN_OPTIONS = void 0; exports.SIMPLE_AUTH_PLUGIN_OPTIONS = Symbol("SIMPLE_AUTH_PLUGIN_OPTIONS"); exports.SIMPLE_AUTH_PLUGIN_LOG_CONTEXT = 'SimpleAuthPlugin'; exports.EMAIL_EVENT_NAME = 'onetimecode-requested'; exports.EMAIL_TEMPLATE_NAME = exports.EMAIL_EVENT_NAME; exports.DEFAULT_OPTIONS = { attempts: 5, isDev: false, ttl: 600, length: 6, includeAlphabet: false, cacheModuleOption: {}, preventCrossStrategies: false }; exports.STRATEGY_NAME = 'simple'; //# sourceMappingURL=constants.js.map