This (node.js) module associates an authentication procedure with a token generation.