Skip to main content

run_setup

Function run_setup 

Source
pub async fn run_setup(open_browser: bool) -> Result<(), CoreError>
Expand description

Run the interactive device authentication setup.

This initiates the device auth flow, opens the browser, and waits for the user to authenticate.

§Arguments

  • open_browser - Whether to automatically open the browser

§Example

// Run setup with automatic browser opening
run_setup(true).await?;