From 3b7c31a2b22d97abf2d8be3cb2e89f7d91971400 Mon Sep 17 00:00:00 2001 From: toir-bot Date: Wed, 22 Apr 2026 07:13:58 +0000 Subject: [PATCH] chore: initial project scaffold: backend/src/auth/auth.module.ts --- backend/src/auth/auth.module.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 backend/src/auth/auth.module.ts diff --git a/backend/src/auth/auth.module.ts b/backend/src/auth/auth.module.ts new file mode 100644 index 0000000..446f797 --- /dev/null +++ b/backend/src/auth/auth.module.ts @@ -0,0 +1,11 @@ +import { Module } from '@nestjs/common'; +import { PassportModule } from '@nestjs/passport'; +import { JwtStrategy } from './jwt.strategy'; +import { JwtAuthGuard } from './jwt-auth.guard'; + +@Module({ + imports: [PassportModule.register({ defaultStrategy: 'jwt' })], + providers: [JwtStrategy, JwtAuthGuard], + exports: [JwtAuthGuard], +}) +export class AuthModule {}