dependencies Legend  Declarations  Module  Bootstrap  Providers  Exports cluster_AuthModule cluster_AuthModule_exports cluster_AuthModule_imports cluster_AuthModule_providers UserModule UserModule AuthModule AuthModule UserModule->AuthModule AuthService AuthService AuthModule->AuthService AuthService AuthService AuthService->AuthModule LocalStrategy LocalStrategy LocalStrategy->AuthModule SessionSerializer SessionSerializer SessionSerializer->AuthModule

File

src/auth/auth.module.ts

import { Module } from '@nestjs/common';
import { PassportModule } from '@nestjs/passport';
import { UserModule } from '../module/user/user.module';
import { AuthController } from './auth.controller';
import { AuthService } from './auth.service';
import { LocalStrategy } from './local.strategy';
import { SessionSerializer } from './session.serializer';

@Module({
    imports: [UserModule, PassportModule],
    providers: [AuthService, LocalStrategy, SessionSerializer],
    exports: [AuthService],
    controllers: [AuthController],
})
export class AuthModule {}

results matching ""

    No results matching ""