Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

ember-auth-module-epf

1.0.2 • Public • Published

epf integration module for ember-auth

Build Status Gem Version NPM version

  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 

Keywords

none

install

npm i ember-auth-module-epf

Downloadsweekly downloads

0

version

1.0.2

license

none

repository

githubgithub

last publish

collaborators

  • avatar