import { Module, Global } from '@nestjs/common';
import { HttpModule } from '@nestjs/axios';
import { IamGuard } from './iam-adapter';

@Global()
@Module({
  imports: [HttpModule.register({ timeout: 5000 })],
  providers: [IamGuard],
  exports: [IamGuard],
})
export class IamModule {}
