Overview
Retrieves all sessions stored in persistent storage.- This function fetches all session objects currently stored by the client, including those that are not active.
- Returns a record mapping each session key to its corresponding
Session
object. - Useful for session management, auditing, or displaying all available sessions to the user.
- Automatically skips any session keys that do not have a valid session object.
Package: core
Defined in: core.ts:3991
Parameters
No parameters.
Response
A successful response returns the following fields:A promise that resolves to a record of session keys and their corresponding
Session
objects, or undefined
if no sessions exist.