From 15f01687daa9f4ab2b9253fe1cac0ade03ac9cb1 Mon Sep 17 00:00:00 2001 From: toir-bot Date: Wed, 22 Apr 2026 06:50: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 {}