node package manager

kido-authflow

Kidozen Authentication flow for Node.js

Kidozen Base Authentication Flow

Node.js module implementing base Kidozen token dance flow.

$ npm install kido-authflow
 
var kidoAuthFlow = require('kido-authflow');
 
var options = {
domain: 'yourcomapny.kidocloud.com',
user: 'youruser@kidozen.com',
password: 'your-password',
app: 'your-app-name'
}
 
kidoAuthFlow(options, function(errresult) {
// err 
 
var kidozenToken = result.kidoToken;
var ipToken = result.ipToken;
});