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

Function refreshGrants

packages/core/sdk/src/oauth-flow.test.ts:1454–1455  ·  view source on GitHub ↗
(requests: readonly { readonly path: string; readonly body: string }[])

Source from the content-addressed store, hash-verified

1452 });
1453
1454const refreshGrants = (requests: readonly { readonly path: string; readonly body: string }[]) =>
1455 requests.filter((r) => r.path === "/token" && r.body.includes("grant_type=refresh_token"));
1456
1457describe("reactive OAuth refresh on upstream 401", () => {
1458 it.effect(

Callers 1

oauth-flow.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected