ember-simple-auth-chrome-app
v0.2.0
Published
An ember-simple-auth session-store for Chrome apps
Downloads
3
Readme
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'
});