(input: {
readonly client: string;
readonly integration: string;
readonly connection: string;
})
| 78 | `; |
| 79 | |
| 80 | const startCode = (input: { |
| 81 | readonly client: string; |
| 82 | readonly integration: string; |
| 83 | readonly connection: string; |
| 84 | }) => ` |
| 85 | const started = await tools.executor.coreTools.oauth.start({ |
| 86 | client: ${JSON.stringify(input.client)}, |
| 87 | clientOwner: "org", |
| 88 | owner: "org", |
| 89 | name: ${JSON.stringify(input.connection)}, |
| 90 | integration: ${JSON.stringify(input.integration)}, |
| 91 | template: "oauth2", |
| 92 | }); |
| 93 | return started.ok |
| 94 | ? { ok: true, status: started.data.status } |
| 95 | : { ok: false, code: started.error.code, message: started.error.message }; |
| 96 | `; |
| 97 | |
| 98 | // --------------------------------------------------------------------------- |
| 99 | // oauth.probe — a broken discovery endpoint reports WHAT failed. |
no outgoing calls
no test coverage detected