@hz-9/a5-authn
Version:
Authentication module for the @hz-9/a5-* series of repositories.
33 lines • 1.72 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.A5AuthnJwtModule = void 0;
const common_1 = require("@nestjs/common");
const a5_authn_jwt_auth_guard_1 = require("./a5-authn-jwt.auth.guard");
const a5_authn_jwt_controller_1 = require("./a5-authn-jwt.controller");
const a5_authn_jwt_strategy_1 = require("./a5-authn-jwt.strategy");
const module_definition_1 = require("./module-definition");
/**
* @public
*
* A5 Authentication Module 子模块 - JWT 认证
*
* 提供 JWT 令牌认证相关的核心功能
*/
let A5AuthnJwtModule = class A5AuthnJwtModule extends module_definition_1.A5AuthnJwtConfigurableModule {
};
exports.A5AuthnJwtModule = A5AuthnJwtModule;
exports.A5AuthnJwtModule = A5AuthnJwtModule = __decorate([
(0, common_1.Global)(),
(0, common_1.Module)({
controllers: [a5_authn_jwt_controller_1.A5AuthnJwtController],
providers: [a5_authn_jwt_auth_guard_1.A5AuthnJwtAuthGuard, a5_authn_jwt_strategy_1.A5AuthnJwtStrategy],
exports: [a5_authn_jwt_auth_guard_1.A5AuthnJwtAuthGuard],
})
], A5AuthnJwtModule);
//# sourceMappingURL=a5-authn-jwt.module.js.map