Documentation
¶
Index ¶
Constants ¶
View Source
const ( // GitHub App of VS Code's Copilot, whose ghu_ tokens the Copilot API exchanges ClientID = "Iv1.b507a08c87ecfe98" // What the exchange and the Copilot API are told the client is EditorVersion = "vscode/1.104.1" RequestUserAgent = "IcebathAgent/1.0" )
Variables ¶
View Source
var SignIn = credentials.SignIn{Spec: githubcopilotconfig.CopilotName, Title: "GitHub account with a device code", Type: credentials.OAuth, Run: signIn}
GitHub device code sign-in for Copilot, the approved token checked against what the Copilot API takes
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.