Microsoft.Identity.Client.ManagedIdentity.V2.IMtlsCertificateCache
interface IMtlsCertificateCache
Abstraction over the in-memory + persisted cache for IMDSv2 mTLS binding certificates.
Task<MtlsBindingInfo> GetOrCreateAsync(string cacheKey, Func<Task<MtlsBindingInfo>> factory, CancellationToken cancellationToken, ILoggerAdapter logger)
Returns a cached binding certificate for the given cacheKey,
or uses factory to create, persist and return one when needed.