MCPcopy Create free account
hub / github.com/arctic-cli/interface / getUrls

Function getUrls

packages/arctic/src/auth/github-copilot-oauth/plugin.ts:34–40  ·  view source on GitHub ↗
(domain: string)

Source from the content-addressed store, hash-verified

32}
33
34function getUrls(domain: string) {
35 return {
36 DEVICE_CODE_URL: `https://${domain}/login/device/code`,
37 ACCESS_TOKEN_URL: `https://${domain}/login/oauth/access_token`,
38 COPILOT_API_KEY_URL: `https://api.${domain}/copilot_internal/v2/token`,
39 }
40}
41
42export const ArcticGithubCopilotAuth: Plugin = async (input: PluginInput) => {
43 return {

Callers 2

fetchFunction · 0.85
authorizeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected