Here are the available options:
(function) defaults to @octokit/auth-token
.
for use with GitHub Enterprise Server
Some REST API endpoints require preview headers to be set, or enable additional features. Preview headers can be set on a per-request basis, e.g.
const octokit = new Octokit({ option1: value, option2: value, })
• OctoKit Token Authentication Strategy | ||
• OctoKit Auth-App Authentication Strategies | ||
• Auth OAuth App |