0.2.4 • Published 5 years ago

keyholder v0.2.4

Weekly downloads
12
License
MIT
Repository
github
Last release
5 years ago

Keyholder

Build Status

A Node library to asynchronously test API keys generated by Keyholder. Before using this library, you should create a project.

Installation

$ npm i keyholder

Usage

Create a Keyholder instance using your project ID and access key, and authenticate API keys using the test method.

import Keyholder from 'keyholder';

const keyholder = new Keyholder({
  projectId: 'YOUR_PROJECT_ID',
  projectAccessKey: 'YOUR_PROJECT_ACCESS_KEY'
});

keyholder.test(apiKey).then(isValid => {
  // turn away invalid keys
});

Documentation

Read more here

0.2.4

5 years ago

0.2.3

5 years ago

0.2.2

5 years ago

0.2.1

5 years ago

0.2.0

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago