ember-auth-module-action-redirectable

1.0.2 • Public • Published

action redirectable module for ember-auth

Build Status Gem Version NPM version

Redirects for post- sign in / out.

Config

App.Auth = Em.Auth.extend
  modules: ['actionRedirectable']
 
  actionRedirectable:
    # [string|false] (opt) fallback route name to redirect post- sign in 
    #   or false to disable post- sign in redirect 
    signInRoute: false
 
    # same 
    signOutRoute: false
 
    # [bool] (opt) true to turn on "smart" redirect: 
    #   redirect to last visited route (if any), (else back to fallback route) 
    signInSmart: false
 
    # same 
    signOutSmart: false
 
    # [array<string>] (opt) only used for "smart" redirect: list of route names 
    #   that should be skipped when determining last visited route 
    signInBlacklist: []
 
    # same 
    signOutBlacklist: []

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.2
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.2
    1
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i ember-auth-module-action-redirectable

Weekly Downloads

1

Version

1.0.2

License

MIT

Last publish

Collaborators

  • heartsentwined