0.2.0 • Published 7 years ago
ember-simple-auth-chrome-app v0.2.0
Ember Simple Auth Chrome App
This addon provides a session-store for ember-simple-auth that uses chrome.storage.local
for usage in chrome apps.
Installation
ember install ember-simple-auth-chrome-app
Configuration
By default, no extra configuration is needed. If you want to extend the session-store, for example to override the key that will be used to store the session, you can import the chrome store or the adaptive store like this:
import AdaptiveStore from 'ember-simple-auth-chrome-app/session-stores/adaptive';
export AdaptiveStore.extend({
localStorageKey: 'custom_key',
chromeStorageKey: 'custom_key'
});