NodeJS + restify + passport + crypto + token authentication