UNPKG

nymi-roaming-authenticator

Version:

An illustration of how one might write a roaming authenticator for Nymi Bands

15 lines (13 loc) 299 B
'use strict'; class Authorize { /** * User * @param {string} userid * @return {void} */ static user (userid) { process.stdout.write(`User ${userid} is authenticated via Nymi Band and ready for authorization\n`); } } module.exports = Authorize;