import EphemeralStore from 'ember-simple-auth/session-stores/ephemeral';
Session store that persists data in memory and thus is not actually persistent. It does also not synchronize the session's state across multiple tabs or windows as those cannot share memory. This store is mainly useful for testing and will automatically be used when running tests.
data. This replaces all currently stored data.
The data to persist
A promise that resolves when the data has successfully been persisted and rejects otherwise.
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