14 lines
416 B
TypeScript
14 lines
416 B
TypeScript
import { Module } from '@nestjs/common';
|
|
import { PassportModule } from '@nestjs/passport';
|
|
import { JwtStrategy } from '../jwt.strategy.js';
|
|
import { AuthController } from './auth.controller.js';
|
|
import { AuthService } from './auth.service.js';
|
|
|
|
@Module({
|
|
imports: [PassportModule],
|
|
providers: [AuthService, JwtStrategy],
|
|
controllers: [AuthController],
|
|
exports: [AuthService],
|
|
})
|
|
export class AuthModule {}
|