Microsoft.Identity.Client.OAuth2.Throttling.RetryAfterProvider
The Retry-After provider observes all service exceptions from all flows and looks for a header like: RetryAfter X seconds.
It then enforces this header, by throttling for X seconds.
public RetryAfterProvider()
public static bool TryGetRetryAfterValue(HttpResponseHeaders headers, out TimeSpan retryAfterTimespan)
public void RecordException(AuthenticationRequestParameters requestParams, IReadOnlyDictionary<string, string> bodyParams, MsalServiceException ex)
public void TryThrottle(AuthenticationRequestParameters requestParams, IReadOnlyDictionary<string, string> bodyParams)