Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | 1x 1x 1x 1x 1x 1x | import { ISimpleAuthPluginOptions } from "./interfaces"; export const SIMPLE_AUTH_PLUGIN_OPTIONS = Symbol("SIMPLE_AUTH_PLUGIN_OPTIONS"); export const SIMPLE_AUTH_PLUGIN_LOG_CONTEXT = 'SimpleAuthPlugin'; export const EMAIL_EVENT_NAME = 'onetimecode-requested'; export const EMAIL_TEMPLATE_NAME = EMAIL_EVENT_NAME; export const DEFAULT_OPTIONS: ISimpleAuthPluginOptions = { attempts: 5, isDev: false, ttl: 600, length: 6, includeAlphabet: false, cacheModuleOption: {}, preventCrossStrategies: false }; export const STRATEGY_NAME = 'simple'; |