pub async fn request_device_code() -> Result<(DeviceCodeInfo, MsDeviceCodeResponse)>Expand description
Step 1: request a device code (return DeviceCodeInfo to show the user),
then call poll_device_code().
pub async fn request_device_code() -> Result<(DeviceCodeInfo, MsDeviceCodeResponse)>Step 1: request a device code (return DeviceCodeInfo to show the user),
then call poll_device_code().