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

Function refreshGrants

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

Source from the content-addressed store, hash-verified

1635 });
1636
1637const refreshGrants = (requests: readonly { readonly path: string; readonly body: string }[]) =>
1638 requests.filter((r) => r.path === "/token" && r.body.includes("grant_type=refresh_token"));
1639
1640describe("reactive OAuth refresh on upstream 401", () => {
1641 it.effect(

Callers 1

oauth-flow.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected