From e932d02f99de3d8e54a9ce57fdd50c3f670a70cc Mon Sep 17 00:00:00 2001 From: toir-bot Date: Fri, 24 Apr 2026 09:49:41 +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 {}