code: function checkToken (client) {
    debug("checkToken");
    return Promise.promisify(client.user.get, client.user)({})
      .then(null, function (err) {
        console.error("Failed to validate Github OAuth token: please check API access (network?) or force re-authentication with 'github-todos auth --force'");
        throw err;
      })
      .then(function () {
        // Store client for next API calls
        return promisifyClient(client);
      });
  }
docs: Check if OAuth token is still working with a simple API call Sets CLIENT (this enables "requireClient" functions) Client ~→ void