Returns an Octokit instance with default settings for authentication. If
githubToken is passed explicitly, the Octokit instance will be
pre-authenticated with that token when instantiated. Otherwise Octokit's
app authentication strategy is used, and
options.auth options are merged
deeply when instantiated.
Besides the authentication, the Octokit's baseUrl is set as well when run against a GitHub Enterprise Server with a custom domain.
Generated using TypeDoc