Class DeviceCodePolling
- Namespace
- MailFathom.Common.OAuth
- Assembly
- MailFathom.Common.dll
The waits RFC 8628 imposes on a client polling a token endpoint for a device grant.
public static class DeviceCodePolling
- Inheritance
-
DeviceCodePolling
- Inherited Members
Remarks
Stated once rather than beside each caller, because these are the specification's numbers rather than either caller's preference: a client that polls faster than it was told is throttled or blocked outright, so a value that drifted in one copy would be a protocol defect in that copy alone and nothing would say which copy was right.
Fields
- BackoffIncrement
The extra wait RFC 8628 requires after the authorization server answers
slow_down.
- DefaultInterval
The interval RFC 8628 mandates when the device authorization response states none.