Skip to main content

request_authentication

Function request_authentication 

Source
pub fn request_authentication(
    profile: &str,
    configured: bool,
    reason: &str,
) -> Result<TuiExit, AppError>
Expand description

Present an actionable connection state inside the same terminal experience. Returning first restores the alternate screen before the caller opens a browser or prints device-code instructions.