import { Global, Module } from '@nestjs/common';
import { AuthContextService } from './auth-context.service';
import { PermissionGuard } from './permission.guard';
import { PermissionService } from './permission.service';

@Global()
@Module({
  providers: [AuthContextService, PermissionGuard, PermissionService],
  exports: [AuthContextService, PermissionGuard, PermissionService],
})
export class AuthModule {}
