pub fn classify_poll(
status: u16,
body: &str,
interval: Duration,
) -> Result<PollOutcome, AuthError>Expand description
Maps one /token response to a device-code poll to what happens next
(AC2). interval is the current poll interval. 5xx and 429 count as
“not yet”, like transport errors.