<PackageReference Include="Azure.Storage.Blobs" Version="12.31.0-beta.1" />

Azure.Storage.AutoRefreshingCache<TValue>

sealed class AutoRefreshingCache<TValue> where TValue : struct, IExpiringValue, IEquatable<TValue>
A thread-safe cache for a single expiring value that supports automatic proactive background refresh. Only one acquisition runs at a time; concurrent callers wait on the same TaskCompletionSource<T> rather than issuing duplicate acquire calls.

Modeled after BearerTokenAuthenticationPolicy.AccessTokenCache in Azure.Core but fully generic.

namespace Azure.Storage { }