Skip to main content

poll_device_code_tokens

Function poll_device_code_tokens 

pub async fn poll_device_code_tokens(
    client: &Client,
    token_url: &str,
    client_id: &str,
    device: &DeviceCodeStart,
) -> Result<TokenSet>
Expand description

Poll the token endpoint until the user completes authorization or the flow expires.