No commit activity in last 3 years
No release in over 3 years
Ember-auth epf integration module source code wrapper for ruby libs.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

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.get 'user' # access the auto-loaded user model

License

MIT