Shows authentication dialog and executes login command if user accepts. This is a convenience function that combines the dialog with the login action.
Optional
Optional source description
Promise that resolves to true if login was initiated, false if cancelled
const loginInitiated = await promptAndLogin("Runtime Selection");if (!loginInitiated) { // User cancelled, handle accordingly return;}// Continue with authenticated flow Copy
const loginInitiated = await promptAndLogin("Runtime Selection");if (!loginInitiated) { // User cancelled, handle accordingly return;}// Continue with authenticated flow
Shows authentication dialog and executes login command if user accepts. This is a convenience function that combines the dialog with the login action.