pub async fn github_device_flow(
client: &Client,
out: &Output,
) -> Result<GithubAuth>Expand description
Runs the GitHub Device Flow (RFC 8628) to authenticate the user.
Args:
client: Pre-configured HTTP client from the composition root.out: Output helper for progress messages.
Usage:
ⓘ
let auth = github_device_flow(&client, &out).await?;
println!("Authenticated as {}", auth.username);