dependencies Legend  Declarations  Module  Bootstrap  Providers  Exports cluster_AuthModule cluster_AuthModule_providers cluster_AuthModule_exports cluster_AuthModule_imports IAMModule IAMModule AuthModule AuthModule IAMModule->AuthModule JwtAuthGuard JwtAuthGuard AuthModule->JwtAuthGuard AuthService AuthService AuthService->AuthModule JwtAuthGuard JwtAuthGuard JwtAuthGuard->AuthModule JwtAuthStrategy JwtAuthStrategy JwtAuthStrategy->AuthModule

File

src/common/auth/auth.module.ts

import { Module } from "@nestjs/common";
import { PassportModule } from "@nestjs/passport";
import { JwtAuthGuard } from "./guards/jwt-auth.guard";
import { JwtAuthStrategy } from "./strategies/jwt-auth.strategy";
import { AuthService } from "./services/auth.service";
import { IAMModule } from "../../iam/iam.module";

@Module({
  imports: [PassportModule, IAMModule],
  providers: [JwtAuthStrategy, JwtAuthGuard, AuthService],
  exports: [JwtAuthGuard],
})
export class AuthModule {}

results matching ""

    No results matching ""