This commit is contained in:
Bastian Wagner
2026-06-24 10:09:12 +02:00
parent 35613eddb6
commit fc61ef5ba9
15 changed files with 581 additions and 19 deletions

View File

@@ -6,6 +6,7 @@ import { AuthController } from './auth.controller';
import { RefreshTokenEntity } from './refresh-token.entity';
import { AuthService } from './auth.service';
import { JwtAuthGuard } from './jwt-auth.guard';
import { McpAuthGuard } from './mcp-auth.guard';
import { UserEntity } from './user.entity';
@Module({
@@ -15,7 +16,7 @@ import { UserEntity } from './user.entity';
TypeOrmModule.forFeature([UserEntity, RefreshTokenEntity]),
],
controllers: [AuthController],
providers: [AuthService, JwtAuthGuard],
exports: [AuthService, JwtAuthGuard],
providers: [AuthService, JwtAuthGuard, McpAuthGuard],
exports: [AuthService, JwtAuthGuard, McpAuthGuard],
})
export class AuthModule {}