2024-11-28 14:25:01 +00:00
|
|
|
import { Module } from "@nestjs/common";
|
|
|
|
import { AuthController } from "./auth.controller";
|
|
|
|
import { AuthService } from "./auth.service";
|
|
|
|
|
2024-12-02 12:57:47 +00:00
|
|
|
import { UserModule } from "@Modules/user/user.module";
|
2024-11-28 14:25:01 +00:00
|
|
|
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";
|
2024-11-28 14:25:01 +00:00
|
|
|
|
|
|
|
@Module({
|
2024-12-02 12:57:47 +00:00
|
|
|
imports: [UserModule],
|
2024-11-28 14:25:01 +00:00
|
|
|
controllers: [AuthController],
|
2024-12-02 15:39:18 +00:00
|
|
|
providers: [AuthService, DiscordStrategy, JWTStrategy, RefreshJWTStrategy],
|
2024-11-28 14:25:01 +00:00
|
|
|
})
|
|
|
|
export class AuthModule {}
|