import SessionStorageStore from 'ember-simple-auth/session-stores/session-storage';
Session store that persists data in the browser's
sessionStorage is not available in Safari when running in private mode.
This session store does not work with FastBoot. In order to use Ember Simple Auth with FastBoot, configure the CookieStore as the application's session store.
Returns all data currently stored in the
sessionStorage as a plain object.
A promise that resolves with the data currently persisted in the store when the data has been restored successfully and rejects otherwise.
sessionStorage key the store persists data in.
Triggered when the session store's data changes due to an external event, e.g., from another tab or window of the same application. The session handles that event, passes the updated data to its authenticator's restore method and handles the result of that invocation accordingly.
The updated session data