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

Function refreshGrants

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

Source from the content-addressed store, hash-verified

1562 });
1563
1564const refreshGrants = (requests: readonly { readonly path: string; readonly body: string }[]) =>
1565 requests.filter((r) => r.path === "/token" && r.body.includes("grant_type=refresh_token"));
1566
1567describe("reactive OAuth refresh on upstream 401", () => {
1568 it.effect(

Callers 1

oauth-flow.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected