Buckets:
ktongue/docker_container / .cache /opencode /node_modules /@gitlab /opencode-gitlab-auth /dist /callback-server.d.ts
| export interface CallbackServerOptions { | |
| /** | |
| * Port to listen on (0 for random port) | |
| */ | |
| port?: number; | |
| /** | |
| * Host to bind to (default: 127.0.0.1) | |
| */ | |
| host?: string; | |
| /** | |
| * Timeout in milliseconds (default: 60000) | |
| */ | |
| timeout?: number; | |
| } | |
| export interface CallbackResult { | |
| code: string; | |
| state: string; | |
| } | |
| /** | |
| * Create a local HTTP server to handle OAuth callback | |
| * Based on gitlab-lsp callback server implementation | |
| */ | |
| export declare class CallbackServer { | |
| private options; | |
| private server; | |
| private resolveCallback?; | |
| private rejectCallback?; | |
| private timeoutHandle?; | |
| constructor(options?: CallbackServerOptions); | |
| /** | |
| * Start the server | |
| */ | |
| start(): Promise<void>; | |
| /** | |
| * Start the server and wait for callback | |
| * @returns Promise that resolves with the callback result | |
| */ | |
| waitForCallback(): Promise<CallbackResult>; | |
| /** | |
| * Get the actual port the server is listening on | |
| */ | |
| getPort(): number; | |
| /** | |
| * Get the callback URL | |
| */ | |
| getCallbackUrl(): string; | |
| /** | |
| * Cleanup resources | |
| */ | |
| private cleanup; | |
| /** | |
| * Force close the server | |
| */ | |
| close(): Promise<void>; | |
| } | |
| //# sourceMappingURL=callback-server.d.ts.map |
Xet Storage Details
- Size:
- 1.29 kB
- Xet hash:
- 9bd852fa722208febdd9efbf0edaf4380011e5d240dea6510623efc0ed70c06c
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.