Datalayer VS Code Extension - v0.0.4
    Preparing search index...

    Function showAuthenticationDialog

    • Shows a non-intrusive authentication notification with login option. Uses a bottom-right notification instead of blocking modal dialog. This ensures a better user experience that doesn't interrupt workflow.

      Parameters

      • Optionalsource: string

        Optional source description (e.g., "Datalayer Platform", "Runtime Selection")

      Returns Promise<boolean>

      Promise that resolves to true if user clicked Login, false otherwise

      const shouldLogin = await showAuthenticationDialog("Datalayer Platform");
      if (shouldLogin) {
      await vscode.commands.executeCommand("datalayer.login");
      }