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

Function reauth

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

Source from the content-addressed store, hash-verified

2142 Effect.gen(function* () {
2143 const owner = row.owner as Owner;
2144 const reauth = (message: string): CredentialResolutionError =>
2145 new CredentialResolutionError({
2146 owner,
2147 integration: IntegrationSlug.make(row.integration),
2148 name: ConnectionName.make(row.name),
2149 message,
2150 reauthRequired: true,
2151 });
2152
2153 // A recorded invalid_grant is the AS's standing verdict on this grant:
2154 // 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