Retrieve the IDs for all the Sessions available in the given storage. Note that
it is only the Session IDs that are returned, and not Session object. Given a
Session ID, one may use [[getSessionFromStorage]] to get the actual Session
object, while being conscious that logging in a Session required an HTTP
interaction, so doing it in batch for a large number of sessions may result
in performance issues.
If no storage is provided, a default in-memory storage will be used. It is
instantiated once on load, and is shared across all the sessions. Since it
is only available in memory, the storage is lost when the code stops running.
A Session is available in storage as soon as it logged in once, and it is removed
from storage on logout.
Retrieve the IDs for all the Sessions available in the given storage. Note that it is only the Session IDs that are returned, and not Session object. Given a Session ID, one may use [[getSessionFromStorage]] to get the actual Session object, while being conscious that logging in a Session required an HTTP interaction, so doing it in batch for a large number of sessions may result in performance issues.
If no storage is provided, a default in-memory storage will be used. It is instantiated once on load, and is shared across all the sessions. Since it is only available in memory, the storage is lost when the code stops running.
A Session is available in storage as soon as it logged in once, and it is removed from storage on logout.