Variables.js

/**
 * @module Variables 
 * @description We need to keep state / value of 3 variabels:
 */

/**
 * @param {string} userId Zlick userId. This will be returned by zlick after Authentication 
 */
let userId
/**
 * @param {string} challengeId Zlick endpoints are stateless. So just sending SMS verification code is just not enough - we need a way to map that
 * verification code to exact request and that is why we send challengeId and expect it back on verifyPinCode() method
 */
let challengeId
/**
 * @param {string} token JWT token signed with your secret using HS256 algorithm. More about token and it's payload cab be found on front page.
 */
let token