Skip to content

browser

Functions

  • print_and_open - Prints the authorization URL and tries to open it in the default browser.

Function

Prints the authorization URL and tries to open it in the default browser.

The browser launch is skipped when [NO_BROWSER_ENV] holds an enabling value.

fn print_and_open<impl Write>(authorization_url: &url::Url, output: & mut impl Trait) -> std::io::Result<()>