Skip to main content

start_device_flow

Function start_device_flow 

Source
pub fn start_device_flow(
    client: &CloudClient,
    label: Option<&str>,
) -> Result<DeviceCodeV1, CloudError>
Expand description

Step 1: ask Cloud for a device code; label is the user’s --label, if any (the approval page shows it, Cloud task #11).