Skip to main content

poll_oauth_device_code_flow

Function poll_oauth_device_code_flow 

Source
pub async fn poll_oauth_device_code_flow<T, F, Fut>(
    interval_seconds: Option<u64>,
    expires_in_seconds: Option<u64>,
    cancellation_token: Option<CancellationToken>,
    poll: F,
) -> Result<T>
where F: FnMut() -> Fut, Fut: Future<Output = Result<OAuthDeviceCodePollResult<T>>>,