Home > @opengovsg/logging > SessionCreatedInput
SessionCreatedInput interface
Input for AuthnAudit.sessionCreated().
Signature:
typescript
export interface SessionCreatedInput extends AuditInputBaseExtends: AuditInputBase
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
| sessionId | string | Session identifier (a non-impersonatable reference, not the bearer token). | |
| userId | string | The session owner. Promoted to user_id (the session being created is what would bind it to scope). |