Nefariously Programmed Mecha
Unleash awesomeness. Private packages, team management tools, and powerful integrations. Get started with npm Orgs »

yubinode

0.0.2 • Public • Published

yubinode

YubiKey OTP testing for Node.JS

Installation

# npm install yubinode

Usage

var yubinode = require('yubinode');

yubinode.setCreds(API_ID, API_KEY);

yubinode.testOTP(OTP, function(result) {

	console.log(result);
	
	/*
		"result" will be an array. 
		The first item will either be 1 or 0, success or fail, respectively.
		The second item will be the message from the server.
		The third item wil be the status code.
	*/

});

install

npm i yubinode

Downloadsweekly downloads

1

version

0.0.2

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability