ProtectedauthProtectedclientProtecteddescriptionProtected OptionalerrorProtected ReadonlyoauthProtectedoauthWhether finishAuth() succeeded in the current doStart attempt. handleStartupError reads it to tell a post-handshake reconnect failure (sign-in already succeeded) from a genuine authorization-required failure.
ReadonlyonProtected ReadonlyonProtectedstartProtectedstatusProtectedsuppressSuppresses transient 401s during the OAuth handshake (set in connectTransport, cleared in its finally) so they don't surface as runtime errors.
ProtectedtransportProtectedworkspaceProtectedauthenticationProtectedconfigureProtectedconnectOptionalheaders: Record<string, string>ProtectedcreateProtectedcreateProtectedcreateProtectedcreateProtectedcreateProtecteddoProtectedhandleProtectedhandleProtectedisProtectedisProtectedisThe SDK reports unmet authorization-server capabilities (e.g. no dynamic client registration) as plain Errors with this prefix. They are configuration outcomes, not transport failures, and must not trigger the SSE fallback. Like the SSE-disconnect prefix, an SDK wording change flips the classification test.
Between start() being awaited and doStart settling on a terminal status. addOrUpdateServer reads this to skip the post-update status reset, which would otherwise race doStart's eventual setStatus(Connected/Running).
Fully up: Running (local) or Connected (remote). Not the complement of isStopped — in-flight states and Errored are neither.
Fully down: NotRunning (local) or NotConnected (remote). Not !isRunning() — see isRunning.
ProtectedisProtectedoauthmessage carries the OAuth error_description, which servers may omit; fall back to the bare error code.
Optionalinteractive?: booleantrue for direct user actions, false for autostart. Flows to the OAuth
provider's interactive field; non-interactive providers reject redirectToAuthorization, so
autostart cannot inadvertently launch a browser.
OAuth provider for the current doStart attempt; lets stop() cancel an in-flight authorization. Cleared in doStart's finally.