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

Function reauth

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

Source from the content-addressed store, hash-verified

1809 Effect.gen(function* () {
1810 const owner = row.owner as Owner;
1811 const reauth = (message: string): CredentialResolutionError =>
1812 new CredentialResolutionError({
1813 owner,
1814 integration: IntegrationSlug.make(row.integration),
1815 name: ConnectionName.make(row.name),
1816 message,
1817 reauthRequired: true,
1818 });
1819
1820 // A recorded invalid_grant is the AS's standing verdict on this grant:
1821 // 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