MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / client

Function client

apps/cloud/src/engine/first-party-oauth-clients.ts:204–209  ·  view source on GitHub ↗
(
  clientId: string | undefined,
  clientSecret: string | undefined,
  config: Omit<FirstPartyOAuthClientConfig, "clientId" | "clientSecret">,
)

Source from the content-addressed store, hash-verified

202];
203
204const client = (
205 clientId: string | undefined,
206 clientSecret: string | undefined,
207 config: Omit<FirstPartyOAuthClientConfig, "clientId" | "clientSecret">,
208): readonly FirstPartyOAuthClientConfig[] =>
209 clientId && clientSecret ? [{ ...config, clientId, clientSecret }] : [];
210
211/** Build the enabled first-party registry from secret bindings. Provider
212 * protocol details and scope ceilings live here so the cloud composition root

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected