Skip to content

Home > @opengovsg/logging > SessionCreatedInput

SessionCreatedInput interface ​

Input for AuthnAudit.sessionCreated().

Signature:

typescript
export interface SessionCreatedInput extends AuditInputBase

Extends: AuditInputBase

Properties ​

PropertyModifiersTypeDescription
sessionIdstringSession identifier (a non-impersonatable reference, not the bearer token).
userIdstringThe session owner. Promoted to user_id (the session being created is what would bind it to scope).