xauth-client
xAuth-Client
Installation
npm install --save dev-xauth-client
or with yarn
yarn add dev-xauth-client
Usage
npm
var xAuth = ;// create a new instance of the xAuth "class"var xauth = ;// init with api and secretxauth; // pass the users id to enable two-factor and returns Qr-Code to register the devicexauth// sending auth request to mobilexauth;