16 lines
554 B
TypeScript
16 lines
554 B
TypeScript
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";
|
|
import { RefreshJWTStrategy } from "./Strategy/refresh.strategy";
|
|
|
|
@Module({
|
|
imports: [UserModule],
|
|
controllers: [AuthController],
|
|
providers: [AuthService, DiscordStrategy, JWTStrategy, RefreshJWTStrategy],
|
|
})
|
|
export class AuthModule {}
|