auth-driver

2.2.0 • Public • Published

Auth Driver Build Status

A driver for Prismatik auth service.

Getting started

npm i auth-driver

To use:

import Driver from 'auth-driver';
 
const driver = new Driver('http://localhost:3000', {
  password: 'hai'
});
 
driver.getAll()
.then(entities => {
  console.log(entities);
});

Tests

Set env variables AUTH_URL and AUTH_PASSWORD for your auth server before running tests. AUTH_PASSWORD should match the API_KEY you have defined on your auth server.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.2.0
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 2.2.0
    2
  • 2.1.0
    1
  • 2.0.1
    0
  • 2.0.0
    1

Package Sidebar

Install

npm i auth-driver

Weekly Downloads

4

Version

2.2.0

License

ISC

Last publish

Collaborators

  • nwinch
  • prismatik