Skip to main content

poll_for_token

Function poll_for_token 

Source
pub async fn poll_for_token(
    client: &Client,
    login_endpoint: &str,
    tenant: &str,
    client_id: &str,
    device_code: &str,
    initial_interval: u64,
    expires_in: u64,
) -> Result<TokenResponse>