feat(auth): add dummy auth foundation with global guard
This commit is contained in:
1 parent
9253cac1b2
commit
122dad35ce
12 files changed
+289
-87
No files matched your search
@@ -0,0 +1,15 @@
|
||||
import { Module } from '@nestjs/common';
|
||||
import { APP_GUARD } from '@nestjs/core';
|
||||
|
||||
import { DummyAuthGuard } from './auth/guards/dummy-auth.guard';
|
||||
|
||||
@Module({
|
||||
imports: [],
|
||||
providers: [
|
||||
{
|
||||
provide: APP_GUARD,
|
||||
useClass: DummyAuthGuard,
|
||||
},
|
||||
],
|
||||
})
|
||||
export class AppModule {}
|
||||
Reference in new issue
Block a user