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

    Constructor options for MCPOAuthClientProvider. Using an options object prevents silent reorder bugs across the four same-typed string fields (serverName, callbackUrl, stateValue, credentialScope).

    interface MCPOAuthClientProviderOptions {
        callbackService: MCPOAuthCallbackService;
        callbackUrl: string;
        config: MCPOAuthConfig;
        credentialScope: string;
        frontendDelegate: MCPOAuthFrontendDelegate;
        interactive: boolean;
        keyStore: KeyStoreService;
        serverName: string;
        stateValue: string;
    }
    Index

    Properties

    callbackService: MCPOAuthCallbackService
    callbackUrl: string
    credentialScope: string
    frontendDelegate: MCPOAuthFrontendDelegate
    interactive: boolean

    true when the OAuth flow was initiated by a direct user action; false for autostart and other non-interactive paths. Non-interactive providers reject MCPOAuthClientProvider.redirectToAuthorization before reaching the delegate, so autostart cannot inadvertently open a browser tab.

    keyStore: KeyStoreService
    serverName: string
    stateValue: string