Skip to Content

SiwxSessionRecord

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

A session stored in a SiwxSessionStore.

Properties

createdAt

createdAt: number

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

Timestamp in milliseconds when the session record was created.


expiresAt

expiresAt: number

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

Timestamp in milliseconds when the session record expires.


id

id: string

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

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


session

session: SiwxSession

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

The verified SIWX session data.


subjectId?

optional subjectId?: string

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

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

Last updated on