| 46 | // 3. pollDeviceAuth(code) is called until it returns the token. |
| 47 | |
| 48 | export interface DeviceAuthStart { |
| 49 | devicecode: string; |
| 50 | expiresIn: number; |
| 51 | interval: number; |
| 52 | } |
| 53 | |
| 54 | function deviceAuthBaseUrl(): string { |
| 55 | return process.env.MATTERAI_BACKEND_URL || DEFAULT_BACKEND_URL; |
nothing calls this directly
no outgoing calls
no test coverage detected