@hz-9/a5-authn
Version:
Authentication module for the @hz-9/a5-* series of repositories.
33 lines • 1.78 kB
JavaScript
;
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.A5AuthnPhoneModule = void 0;
const common_1 = require("@nestjs/common");
const a5_authn_phone_auth_guard_1 = require("./a5-authn-phone.auth.guard");
const a5_authn_phone_controller_1 = require("./a5-authn-phone.controller");
const a5_authn_phone_strategy_1 = require("./a5-authn-phone.strategy");
const module_definition_1 = require("./module-definition");
/**
* @public
*
* A5 Authentication Module 子模块 - 手机号认证
*
* 提供手机号验证码认证相关的核心功能
*/
let A5AuthnPhoneModule = class A5AuthnPhoneModule extends module_definition_1.A5AuthnPhoneConfigurableModule {
};
exports.A5AuthnPhoneModule = A5AuthnPhoneModule;
exports.A5AuthnPhoneModule = A5AuthnPhoneModule = __decorate([
(0, common_1.Global)(),
(0, common_1.Module)({
controllers: [a5_authn_phone_controller_1.A5AuthnPhoneController],
providers: [a5_authn_phone_auth_guard_1.A5AuthnPhoneAuthGuard, a5_authn_phone_strategy_1.A5AuthnPhoneStrategy],
exports: [a5_authn_phone_auth_guard_1.A5AuthnPhoneAuthGuard],
})
], A5AuthnPhoneModule);
//# sourceMappingURL=a5-authn-phone.module.js.map