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

Function reauth

packages/core/sdk/src/executor.ts:1806–1813  ·  view source on GitHub ↗
(message: string)

Source from the content-addressed store, hash-verified

1804 Effect.gen(function* () {
1805 const owner = row.owner as Owner;
1806 const reauth = (message: string): CredentialResolutionError =>
1807 new CredentialResolutionError({
1808 owner,
1809 integration: IntegrationSlug.make(row.integration),
1810 name: ConnectionName.make(row.name),
1811 message,
1812 reauthRequired: true,
1813 });
1814
1815 // A recorded invalid_grant is the AS's standing verdict on this grant:
1816 // re-sending it cannot succeed, so don't. Fail as reauth-required

Callers 1

performTokenRefreshFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected