dependencies Legend  Declarations  Module  Bootstrap  Providers  Exports cluster_AuthModule cluster_AuthModule_providers AuthService AuthService AuthModule AuthModule AuthService->AuthModule JwtQueryStrategy JwtQueryStrategy JwtQueryStrategy->AuthModule JwtStrategy JwtStrategy JwtStrategy->AuthModule LocalStrategy LocalStrategy LocalStrategy->AuthModule

File

src/module/auth/auth.module.ts

import { Module } from "@nestjs/common";
import { AuthService } from "./service/auth.service";
import { PassportModule } from "@nestjs/passport";
import { LocalStrategy } from "./strategy/local.strategy";
import { TypeOrmModule } from "@nestjs/typeorm";
import { JwtStrategy } from "./strategy/jwt.strategy";
import { User } from "../../entity/user.entity";
import { JwtQueryStrategy } from "./strategy/picture.strategy";

@Module({
  imports: [TypeOrmModule.forFeature([User]), PassportModule],
  providers: [AuthService, LocalStrategy, JwtStrategy, JwtQueryStrategy ],
})
export class AuthModule {}

result-matching ""

    No results matching ""