feat: 添加鉴权相关功能。

This commit is contained in:
Ivan Li
2021-07-17 17:32:42 +08:00
parent 51d5ac6ee6
commit d0f6b8f9a6
6 changed files with 230 additions and 1 deletions

View File

@@ -1,10 +1,11 @@
import { Module } from '@nestjs/common';
import { PasswordConverter } from './services/password-converter';
import { PubSubModule } from './pub-sub/pub-sub.module';
import { AuthModule } from '@nestjs-lib/auth';
@Module({
imports: [PubSubModule, AuthModule],
providers: [PasswordConverter],
exports: [PasswordConverter],
imports: [PubSubModule],
})
export class CommonsModule {}