lazy-uac
TypeScript icon, indicating that this package has built-in type declarations

0.0.20 • Public • Published

LAZY-UAC

Base on LazyBoyJs this library provide an User-Access-Control layer. Easily add users with authentication and roles to quickly develop an application using CouchDB as database.

Install

npm install lazy-uac

Setup

  • Without configuration
import  LazyUAC = require("lazy-uac");
 
let manager = new LazyUAC.UserManager()

the UserManager will use the default settings values

{
        logLevellazyFormatLogger.LogLevel.VERBOSE,
        useAsyncfalse,
        dataSourcenew DataService.UacDBA(),
        dataSourceAsyncnull,
        dataSourceOptions{
            credential_db"auth",
            profile_db"profile",
            LazyBoyOptions{
                prefix"uac",
                autoConnecttrue,
                views{}
            }
        }
    }

Package Sidebar

Install

npm i lazy-uac

Weekly Downloads

29

Version

0.0.20

License

Apache-2.0

Last publish

Collaborators

  • pteyssedre