2.2.0 • Published 8 years ago

auth-driver v2.2.0

Weekly downloads
2
License
ISC
Repository
github
Last release
8 years ago

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.

2.2.0

8 years ago

2.1.0

8 years ago

2.0.1

8 years ago

2.0.0

8 years ago