UNPKG

@hz-9/a5-authn

Version:

Authentication module for the @hz-9/a5-* series of repositories.

33 lines 1.77 kB
"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; return c > 3 && r && Object.defineProperty(target, key, r), r; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.A5AuthnEmailModule = void 0; const common_1 = require("@nestjs/common"); const a5_authn_email_auth_guard_1 = require("./a5-authn-email.auth.guard"); const a5_authn_email_controller_1 = require("./a5-authn-email.controller"); const a5_authn_email_strategy_1 = require("./a5-authn-email.strategy"); const module_definition_1 = require("./module-definition"); /** * @public * * A5 Authentication Module 子模块 - 邮箱认证 * * 提供邮箱验证码认证相关的核心功能 */ let A5AuthnEmailModule = class A5AuthnEmailModule extends module_definition_1.A5AuthnEmailConfigurableModule { }; exports.A5AuthnEmailModule = A5AuthnEmailModule; exports.A5AuthnEmailModule = A5AuthnEmailModule = __decorate([ (0, common_1.Global)(), (0, common_1.Module)({ controllers: [a5_authn_email_controller_1.A5AuthnEmailController], providers: [a5_authn_email_auth_guard_1.A5AuthnEmailAuthGuard, a5_authn_email_strategy_1.A5AuthnEmailStrategy], exports: [a5_authn_email_auth_guard_1.A5AuthnEmailAuthGuard], }) ], A5AuthnEmailModule); //# sourceMappingURL=a5-authn-email.module.js.map