code: function bodyToParams(body) {
    var params = {};
  
    body = body.trim();
    body.split('\n').forEach(function(line) {
      var match = line.trim().match(/^(\w+)=(.*)$/);
      if (match) {
        params[match[1]] = match[2];
      }
    });
    return params;
  }
docs: /*
  Convert Yubico response body to params dictionary.