Skip to main content

github_device_flow

Function github_device_flow 

Source
pub async fn github_device_flow(
    client: &Client,
    client_id: &str,
    scope: &str,
    timeout_secs: u64,
) -> Result<TokenBundle, OAuthError>
Expand description

High-level convenience: run the full GitHub device flow and persist the token.