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
492 B
JSON
1 line
492 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=320ca403-9990-44e6-8386-4e33784ce480&scope=read%3Auser+user%3Aemail+repo+workflow+delete_repo","stateHandle":"320ca403-9990-44e6-8386-4e33784ce480","connectionRequestId":"c9f25f65-05ee-4b35-98e3-7b3c23745954","status":"initiated","expiresAt":"2026-10-20T17:14:08.224Z"},"meta":{}} |