AuditContext
@nmi-agro/fdm-source / fdm-core/src / AuditContext
Interface: AuditContext
Defined in: fdm-core/src/authorization.types.d.ts:47
Audit context carried implicitly through an async call chain.
Set once at the boundary (HTTP handler, queue consumer, etc.) and
read by checkPermission without threading extra arguments through
every intermediate function.
Properties
channel
channel:
"app"|"api"
Defined in: fdm-core/src/authorization.types.d.ts:49
Channel that originated the request. Defaults to "app".
credential_id?
optionalcredential_id?:string
Defined in: fdm-core/src/authorization.types.d.ts:51
Session ID (app) or API key ID (api) that originated the request.