IGitHubOAuthTokenProvider
NexusLabs.Needlr.Copilot¶
IGitHubOAuthTokenProvider Interface¶
Provides the raw GitHub OAuth token used for GitHub API calls (token exchange) and MCP server authentication. This is the foundational credential — the Copilot API token is derived from it via ICopilotTokenProvider.
Methods¶
IGitHubOAuthTokenProvider.GetOAuthToken() Method¶
Gets the raw GitHub OAuth token (e.g., gho_xxx from apps.json or GH_TOKEN).
Returns¶
System.String
The raw OAuth token string.