Files
hedena_gold/apps/api/src/modules/iam/iam.module.ts
T
s.esmaeili ea86636027 Initial commit: Hedena Gold monorepo.
First commit of the Hedena Gold product (separate from gold-bank): branding, package names, and deploy defaults aligned to the new brand; legacy Henza trees stay local-only via .gitignore.
2026-10-15 17:19:10 +03:30

20 lines
634 B
TypeScript

import { Global, Module } from '@nestjs/common';
import { IamController } from './iam.controller';
import { IamLogoutService } from './iam-logout.service';
import { IamService } from './iam.service';
/**
* Central IAM integration.
*
* Global so any module can delegate credential checks without wiring imports;
* the service itself is inert until `IAM_ENABLED=true`, so importing it costs
* nothing in a deployment that does not use the identity service.
*/
@Global()
@Module({
controllers: [IamController],
providers: [IamService, IamLogoutService],
exports: [IamService, IamLogoutService],
})
export class IamModule {}