seneca-local-auth
v0.1.2
Published
local auth plugin for seneca-auth
Downloads
8
Readme
A Seneca.js a seneca-auth plugin
seneca-local-auth
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.