Retrieve a Session from the given storage based on its session ID. If possible,
the Session is logged in before it is returned, so that session.fetch may
access private Resources without any additional interaction.
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 a Session from the given storage based on its session ID. If possible, the Session is logged in before it is returned, so that
session.fetchmay access private Resources without any additional interaction.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.