Skip to main content

start_device_flow_for

Function start_device_flow_for 

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

Step 1 for cloud connect [--trial]: trial names the plan whose one-step trial the browser starts (None: a plain sign-in, whose request is exactly the one older Clouds know).