lean-auth
1.0.1 • Public • Published lean-auth

features
- username/password login
- ldap login
- email verification
- password recovery
- role/permission management
api
const {Auth} = require("lean-auth")
let auth = new Auth({database: "mysql://user:passwd@localhost/db"})
auth.sync().then(function(){
auth.createUser({
name: name,
email: email,
password: password
})
})
auth.login({name: name}, password)
Package Sidebar
Install
Weekly Downloads