node package manager
Stop wasting time. Easily manage code sharing in your team. Create a free org »

seneca-local-auth

Seneca

A Seneca.js a seneca-auth plugin

seneca-local-auth

npm version Build Status Dependency Status Gitter chat

Lead Maintainer: Mircea Alexandru

This plugin is used by seneca-auth for authenticating via local strategy. It uses PassportJS. The seneca-auth is the authentication plugin used by Seneca toolkit.

For a gentle introduction to Seneca itself, see the senecajs.org site.

If you're using this plugin module, feel to contact on twitter if you have any questions! :) @Alexandru_M

  • Version: 0.1.0
  • Tested on: Seneca 0.8, 0.9
  • Node: 4, 5
  • License: MIT

Install

npm install seneca-local-auth

Using Local Auth

When using seneca-auth the local auth must be initialized using:

seneca.use('auth')
seneca.use('local-auth', options)

Test

To run tests, simply use npm:

npm run test

Contributing

The Senecajs org encourage open participation. If you feel you can help in any way, be it with documentation, examples, extra testing, or new features please get in touch.

License

Copyright Mircea Alexandru and other contributors 2015, Licensed under MIT.