0.1.3 • Published 12 years ago

yubi v0.1.3

Weekly downloads
20
License
-
Repository
github
Last release
12 years ago

yubi

Yubikey client for node.js

Uses Yubico's validation servers to do the actual validation. It sends a validation request in parallel to all five validation servers:

api.yubico.com
api2.yubico.com
api3.yubico.com
api4.yubico.com
api5.yubico.com

install

npm install yubi

usage

Code to verify the Yubikey generated one time password (OTP):

Verifier = require 'yubi'

API_ID = 'your api id'
API_KEY = 'your api key'

v = new Verifier API_ID, API_KEY
v.verify otp, (status) ->
  if status is 'OK'
    console.log 'OTP is ok'
  else
    console.log v.errorMsg(status)
0.1.3

12 years ago

0.1.2

12 years ago

0.1.1

12 years ago

0.1.0

12 years ago