mirror of
https://gh-proxy.org/https://github.com/klinsmaya/multica.git
synced 2026-11-09 18:06:45 +08:00
Standalone SDK for a self-hosted open-connector instance: provider catalog and setup, OAuth client configs, OAuth and API-key connection flows, connection deletion, and runtime token management. Responses are unwrapped per path family (/v1 envelope vs bare /api JSON); secrets in returned structs are redacted from String, GoString and slog output. Tests replay recorded responses from a real instance. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01XqqpKySn2iWtXriK3Gsgak
1 line
458 B
JSON
1 line
458 B
JSON
{"success":true,"message":"OK","data":{"authorizationUrl":"https://github.com/login/oauth/authorize?client_id=fake-client-id&redirect_uri=http%3A%2F%2F127.0.0.1%3A3000%2Foauth%2Fcallback&response_type=code&state=ff5ae241-166e-496e-a647-6f5ad7151d54&scope=read%3Auser+repo","stateHandle":"ff5ae241-166e-496e-a647-6f5ad7151d54","connectionRequestId":"859c5953-e0e6-4780-8c88-faeddcd5a981","status":"initiated","expiresAt":"2026-10-20T17:14:42.360Z"},"meta":{}} |