Skip to content

CopilotTokenSource

NexusLabs.Needlr.Copilot

CopilotTokenSource Enum

Controls where the GitHub OAuth token is sourced from.

public enum CopilotTokenSource

Fields

Auto 0

Try the Copilot CLI's local apps.json first, then environment variables.

AppsJson 1

Read from %LOCALAPPDATA%\github-copilot\apps.json (or platform equivalent).

EnvironmentVariable 2

Read from GH_TOKEN or GITHUB_TOKEN environment variable.