Skip to content
Authentication plugin. Uses tokens.
CoffeeScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
example
lib
public/symfio-auth
test
.gitignore
Gruntfile.coffee
LICENSE
README.md
package.json

README.md

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.
Something went wrong with that request. Please try again.