2 instantiations of CredentialCacheKey
System.Net.Http (2)
System\Net\Http\SocketsHttpHandler\PreAuthCredentialCache.cs (2)
21
var key = new
CredentialCacheKey
(uriPrefix, authType);
39
var key = new
CredentialCacheKey
(uriPrefix, authType);
9 references to CredentialCacheKey
System.Net.Http (9)
src\runtime\src\libraries\Common\src\System\Net\CredentialCacheKey.cs (5)
12
internal sealed class CredentialCacheKey : IEquatable<
CredentialCacheKey
?>
88
public bool Equals([NotNullWhen(true)]
CredentialCacheKey
? other)
104
public override bool Equals([NotNullWhen(true)] object? obj) => Equals(obj as
CredentialCacheKey
);
112
public static bool TryGetCredential(Dictionary<
CredentialCacheKey
, NetworkCredential> cache, Uri uriPrefix, string authType, [NotNullWhen(true)] out Uri? mostSpecificMatchUri, [NotNullWhen(true)] out NetworkCredential? mostSpecificMatch)
127
foreach ((
CredentialCacheKey
key, NetworkCredential value) in cache)
System\Net\Http\SocketsHttpHandler\PreAuthCredentialCache.cs (4)
14
private Dictionary<
CredentialCacheKey
, NetworkCredential>? _cache;
21
var
key = new CredentialCacheKey(uriPrefix, authType);
25
_cache ??= new Dictionary<
CredentialCacheKey
, NetworkCredential>();
39
var
key = new CredentialCacheKey(uriPrefix, authType);