(domain: string)
| 32 | } |
| 33 | |
| 34 | function 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 | |
| 42 | export const ArcticGithubCopilotAuth: Plugin = async (input: PluginInput) => { |
| 43 | return { |