Skip to main content

login_interactive

Function login_interactive 

Source
pub async fn login_interactive() -> Result<()>
Expand description

Run the interactive browser-loopback login flow.

Designed for embedding in host commands (e.g. hm init) that need the user to authenticate before proceeding.

ยงErrors

Returns an error if the browser cannot be opened, the login times out, or the token cannot be persisted.