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.
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
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 {}
|
||||
Reference in New Issue
Block a user