Server/src/modules/auth/auth.module.ts

16 lines
554 B
TypeScript
Raw Normal View History

import { Module } from "@nestjs/common";
import { AuthController } from "./auth.controller";
import { AuthService } from "./auth.service";
import { UserModule } from "@Modules/user/user.module";
import { DiscordStrategy } from "./Strategy/discord.strategy";
import { JWTStrategy } from "./Strategy/jwt.strategy";
2024-12-02 15:39:18 +00:00
import { RefreshJWTStrategy } from "./Strategy/refresh.strategy";
@Module({
imports: [UserModule],
controllers: [AuthController],
2024-12-02 15:39:18 +00:00
providers: [AuthService, DiscordStrategy, JWTStrategy, RefreshJWTStrategy],
})
export class AuthModule {}