Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

ovee-auth

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ovee-auth

Authentication, JWT generation and basic user management

latest
npmnpm
Version
0.0.4
Version published
Maintainers
1
Created
Source

Ovee Auth

Ovee Auth is a library to very simply manage users and their passwords in a Mongo DB. It salts and hashes passwords and provides a method to verify a username/password combination against the existing users.

Installation

Just run npm install --save ovee-auth.

Setup

Ovee Auth relies on Ovee DB for database access. Please see the Ovee DB documentation in order to create an OveeDB instance. This instance needs to be passed to the Ovee Auth constructor:

const OveeDb = require('ovee-db').OveeDB;
const OveeAuth = require('ovee-auth').OveeAuth;

const db = new OveeDb('mongodb://localhost:27017/ovee', 'ovee');
const oveeAUth = new OveeAuth(db);

Basic Usage

See the test cases for usage details.

Keywords

database

FAQs

Package last updated on 02 Sep 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts