2023-02-16 01:18:55 +08:00
|
|
|
import { Module } from '@nestjs/common'
|
|
|
|
import { AuthService } from './auth.service'
|
|
|
|
import { AuthController } from './auth.controller'
|
|
|
|
import { UsersModule } from 'src/users/users.module'
|
|
|
|
import { JwtService } from '@nestjs/jwt'
|
2023-02-16 12:09:48 +08:00
|
|
|
import { JwtStrategy } from './jwt.strategy'
|
2023-02-16 01:18:55 +08:00
|
|
|
|
|
|
|
@Module({
|
|
|
|
controllers: [AuthController],
|
2023-02-16 12:09:48 +08:00
|
|
|
providers: [AuthService, JwtService, JwtStrategy],
|
2023-02-16 01:18:55 +08:00
|
|
|
imports: [UsersModule],
|
|
|
|
})
|
|
|
|
export class AuthModule {}
|