dependencies Legend  Declarations  Module  Bootstrap  Providers  Exports cluster_AuthModule cluster_AuthModule_exports cluster_AuthModule_providers cluster_AuthModule_imports ClientModule ClientModule AuthModule AuthModule ClientModule->AuthModule TenantModule TenantModule TenantModule->AuthModule JwtAuthGuard JwtAuthGuard AuthModule->JwtAuthGuard JwtService JwtService AuthModule->JwtService JwtStrategy JwtStrategy AuthModule->JwtStrategy AuthService AuthService AuthService->AuthModule JwtAuthGuard JwtAuthGuard JwtAuthGuard->AuthModule JwtService JwtService JwtService->AuthModule JwtStrategy JwtStrategy JwtStrategy->AuthModule

File

src/auth/auth.module.ts

import { Module } from "@nestjs/common";
import { ConfigModule } from "@nestjs/config";
import { PassportModule } from "@nestjs/passport";
import { AuthController } from "./auth.controller";
import { JwtAuthGuard } from "./auth.guard";
import { AuthService } from "./auth.service";
import { ClientModule } from "./client/client.module";
import { JwtService } from "./jwt.service";
import { JwtStrategy } from "./jwt.strategy";
import { TenantModule } from "./tenant/tenant.module";
@Module({
    imports: [PassportModule, ConfigModule, TenantModule, ClientModule],
    providers: [JwtStrategy, JwtAuthGuard, JwtService, AuthService],
    controllers: [AuthController],
    exports: [PassportModule, JwtStrategy, JwtAuthGuard, JwtService],
})
export class AuthModule {}

results matching ""

    No results matching ""