Skip to Content

SiwxSessionRecord

Defined in: siwx-server/src/types.ts:94 

A session stored in a SiwxSessionStore.

Properties

createdAt

createdAt: number

Defined in: siwx-server/src/types.ts:102 

Timestamp in milliseconds when the session record was created.


expiresAt

expiresAt: number

Defined in: siwx-server/src/types.ts:104 

Timestamp in milliseconds when the session record expires.


id

id: string

Defined in: siwx-server/src/types.ts:96 

Opaque, unguessable session ID. It is the value of the session cookie.


session

session: SiwxSession

Defined in: siwx-server/src/types.ts:98 

The verified SIWX session data.


subjectId?

optional subjectId?: string

Defined in: siwx-server/src/types.ts:100 

Optional ID of your own user record (for example a database user ID), set with bindSubject.

Last updated on