Skip to content

createAuthSystemHook

createAuthSystemHook(): (event, data) => Promise<void>

Defined in: packages/app/src/notify.ts:292

Host hook for the auth engine (onAuthSystemEvent): fans sys:* auth events out to admin channels. Safe to call anywhere — outside a request scope (e.g. boot) it resolves to a no-op instead of throwing.

(event, data) => Promise<void>