1 write to _cache
System.Net.Http (1)
System\Net\Http\SocketsHttpHandler\PreAuthCredentialCache.cs (1)
25
_cache
??= new Dictionary<CredentialCacheKey, NetworkCredential>();
5 references to _cache
System.Net.Http (5)
System\Net\Http\SocketsHttpHandler\PreAuthCredentialCache.cs (5)
26
_cache
.Add(key, cred);
34
if (
_cache
== null)
41
_cache
.Remove(key);
49
if (
_cache
== null)
54
CredentialCacheHelper.TryGetCredential(
_cache
, uriPrefix, authType, out Uri? mostSpecificMatchUri, out NetworkCredential? mostSpecificMatch);