YubiKey OTP testing for Node.JS
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.md
index.js
package.json

README.md

yubinode

WARNING: Not maintained, recommend using Yub instead.

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.
	*/

});