MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / oauth-refresh-on-401.test.ts

File oauth-refresh-on-401.test.ts

e2e/scenarios/oauth-refresh-on-401.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1// Cross-target: when the upstream rejects a token executor still believes is
2// valid, executor re-mints it and retries — the caller never sees the 401.
3//
4// `expires_at` only ever holds the authorization server's ADVERTISED lifetime.

Callers

nothing calls this directly

Calls 15

scenarioFunction · 0.90
serveOAuthTestServerFunction · 0.90
composePluginApiFunction · 0.85
makeClientFunction · 0.85
toStringMethod · 0.80
completeMethod · 0.80
serveUpstreamFunction · 0.70
uniqueFunction · 0.70
specFunction · 0.70
callFunction · 0.70
startMethod · 0.65
getMethod · 0.65

Tested by

no test coverage detected