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

Function userClient

packages/core/sdk/src/oauth-remove-client.test.ts:292–301  ·  view source on GitHub ↗
(clientSecret: string)

Source from the content-addressed store, hash-verified

290/** The registration used by the secret-lifecycle tests below, parameterised only
291 * by the secret so each one can prove which incarnation's secret survived. */
292const userClient = (clientSecret: string) =>
293 ({
294 owner: "user",
295 slug: USER_CLIENT,
296 authorizationUrl: "https://acme.test/authorize",
297 tokenUrl: "https://acme.test/token",
298 grant: "authorization_code",
299 clientId: "user-client-id",
300 clientSecret,
301 }) as const;
302
303describe("removing a client defers the secret deletion to the outermost commit", () => {
304 it.effect("a rolled-back removal leaves the client secret intact", () =>

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected