1.0.2 • Published 11 years ago

ember-auth-module-epf v1.0.2

Weekly downloads
1
License
-
Repository
github
Last release
11 years ago

epf integration module for ember-auth

  1. injects signed in session data (if any) to all epf server requests
  2. optional: auto-loads an epf user model upon sign in

Config

App.Auth = Em.Auth.extend
  modules: ['epf']

  epf:
    # [string|false] enable auto-loading user model by setting this to a
    #   model type, as in session.load(userModel, id);
    #   or false to disable auto-loading user model
    userModel: false

Usage

@auth.user # access the auto-loaded user model