nymi-roaming-authenticator

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

Usage no npm install needed!

<script type="module">
  import nymiRoamingAuthenticator from 'https://cdn.skypack.dev/nymi-roaming-authenticator';
</script>

README

nymi-roaming-authenticator

NodeJs port of RoamingNEASample and RoamingService.

Please refer to the official Nymi Github or SDK Documentation for details.

Support

All Platforms supported by the Nymi SDK 4.1 should be supported by this module.

Tested on Windows 7 64bit, macOS Sierra 10.12.2, macOS Sierra 10.12.3 and macOS Sierra 10.12.4.

Apple Mac OS
  • OS X Yosemite (10.10)
  • OS X El Capitan (10.11)
  • macOS Sierra (10.12.2 or later)
Microsoft Windows
  • Windows 10, 8.1, 7
  • 64bit only

Install

For global installation (prefered).

npm i nymi-roaming-authenticator -g

Just remove -g for normal local installation.

Usage

On a global installation just type

$ roamingnea

or for local installation type

$ npm start

to print the commandline usage information.

  Usage:  roamingnea <command>

  The command can be either:
    setup   Sets up a band for roaming authentication
    auth    Starts authentication of a set-up band and returns the results
    start   Starts the Roaming Service
    stop    Stops the Roaming Service
    state   Returns running state of Roaming Service

  Roaming Service is listening on http://localhost:9090/roamingauth/

License

See LICENSE file.