Microsoft.Identity.Client.Http.Retry.IRetryPolicy
interface IRetryPolicy
Task<bool> PauseForRetryAsync(HttpResponse response, Exception exception, int retryCount, ILoggerAdapter logger)
Determines whether a retry should be attempted for a given HTTP response or exception,
and performs any necessary pause or delay logic before the next retry attempt.