Theia API Documentation v1.73.0
    Preparing search index...

    Backend-side bridge to the browser client for OAuth operations that must run in the frontend.

    interface MCPOAuthFrontendDelegate {
        disconnectClient(client: MCPOAuthFrontendDelegateClient): void;
        getCallbackUrl(): Promise<string>;
        getEffectiveRedirectUrl(): Promise<string>;
        openExternal(url: string): Promise<void>;
        setClient(client: MCPOAuthFrontendDelegateClient): void;
    }

    Hierarchy

    Implemented by

    Index

    Methods

    • The OAuth redirect URL actually advertised to authorization servers: the Electron loopback callback URL when the loopback endpoint is bound, otherwise the frontend's origin-based callback URL. Lets UI surfaces show users which redirect URI to register with a provider.

      Returns Promise<string>