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.
20 lines
634 B
TypeScript
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 {}
|