Skip to content

Graphorin API reference v0.1.0


Graphorin API reference / @graphorin/security / / onOAuthAudit

Function: onOAuthAudit()

ts
function onOAuthAudit(listener): () => void;

Defined in: packages/security/src/oauth/audit-emitter.ts:72

Subscribe to OAuth-subsystem audit events. The audit-log subsystem registers exactly one listener that forwards each event to the audit database.

Parameters

ParameterType
listenerOAuthAuditListener

Returns

() => void

Stable