Skip to main content

run

Function run 

Source
pub(crate) async fn run(
    state: Arc<Mutex<CliState>>,
    no_browser: bool,
) -> Result<(), OperationOutcomeError>
Expand description

Runs the login command: the browser-based authorization_code + PKCE login flow for the active profile, caching the resulting tokens in the secrets file. With no_browser, prints the authorization URL instead of opening it.