pub fn run_auth(
user_path: &Path,
project_root: Option<&Path>,
trust_path: &Path,
auth_path: &Path,
name: &str,
no_open: bool,
http_timeout: Duration,
callback_timeout: Duration,
on_authorize_url: Option<&dyn Fn(&str)>,
out: &mut impl Write,
err: &mut impl Write,
) -> i32