ember-auth-module-ember-data
v1.0.2
Published
ember data integration module for ember-auth
Downloads
8
Readme
ember-data integration module for ember-auth
- injects signed in session data (if any) to all ember-data server requests
- optional: auto-loads an ember-data user model upon sign in
Config
App.Auth = Em.Auth.extend
modules: ['emberData']
emberData:
# [string|false] enable auto-loading user model by setting this to a
# model type, as in store.find(userModel, id);
# or false to disable auto-loading user model
userModel: false
Usage
@auth.user # access the auto-loaded user model