System\Net\Http\SocketsHttpHandler\AuthenticationHelper.cs (6)
128TryGetValidAuthenticationChallengeForScheme(BasicScheme, AuthenticationType.Basic, authUri, credentials, authenticationHeaderValues, out challenge);
184SetRequestAuthenticationHeaderValue(request, new AuthenticationHeaderValue(BasicScheme, base64AuthString), isProxyAuth);
226NetworkCredential? credential = credentials.GetCredential(authUri, BasicScheme);
245preAuthCredentialPair = pool.PreAuthCredentials.GetCredential(authUri, BasicScheme);
340pool.PreAuthCredentials.Remove(preAuthCredentialUri, BasicScheme);
349pool.PreAuthCredentials.Add(authUri, BasicScheme, challenge.Credential);