symfio-contrib-auth
v0.1.3
Published
Authentication plugin. Uses tokens.
Downloads
2
Readme
symfio-contrib-auth
Authentication plugin. Uses tokens.
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
.