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

symfio-contrib-auth

0.1.3 • Public • Published

symfio-contrib-auth

Authentication plugin. Uses tokens.

Build Status Dependency Status

Usage

symfio = require "symfio"
 
container = symfio "example"__dirname
container.set "components"[
  "angular#~1.0",
  "angular-resource#~1.0",
  "angular-cookies#~1.0",
  "jquery#~1.9"
]
 
loader = container.get "loader"
 
loader.use require "symfio-contrib-express"
loader.use require "symfio-contrib-mongoose"
loader.use require "symfio-contrib-assets"
loader.use require "symfio-contrib-auth"
loader.use require "symfio-contrib-bower"
 
loader.load()

Required plugins

Can be configured

  • auth token expiration period — Default value is 7d.

Keywords

none

install

npm i symfio-contrib-auth

Downloadsweekly downloads

3

version

0.1.3

license

none

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar