Skip to main content

start_copilot_device_flow

Function start_copilot_device_flow 

Source
pub async fn start_copilot_device_flow(
    config: &CopilotOAuthConfig,
) -> Result<DeviceCodeResponse>
Expand description

Start the GitHub device flow (RFC 8628) for Copilot.

Returns a DeviceCodeResponse containing the user_code and verification_uri the user should visit.