2 writes to _credentials
System.Net.Http (2)
System\Net\Http\SocketsHttpHandler\HttpConnectionSettings.cs (1)
103
_credentials
= _credentials,
System\Net\Http\SocketsHttpHandler\SocketsHttpHandler.cs (1)
123
_settings.
_credentials
= value;
9 references to _credentials
System.Net.Http (9)
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.cs (4)
350
if (doRequestAuth && Settings.
_credentials
!= null)
352
return AuthenticationHelper.SendWithRequestAuthAsync(request, async, Settings.
_credentials
, Settings._preAuthenticate, this, cancellationToken);
370
if (doRequestAuth && Settings.
_credentials
!= null)
372
return AuthenticationHelper.SendWithNtConnectionAuthAsync(request, async, Settings.
_credentials
, Settings._impersonationLevel, connection, this, cancellationToken);
System\Net\Http\SocketsHttpHandler\HttpConnectionSettings.cs (2)
103
_credentials =
_credentials
,
132
_defaultCredentialsUsedForServer =
_credentials
== CredentialCache.DefaultCredentials,
System\Net\Http\SocketsHttpHandler\SocketsHttpHandler.cs (3)
119
get => _settings.
_credentials
;
524
HttpMessageHandlerStage handler = new HttpConnectionHandler(poolManager, doRequestAuth: settings.
_credentials
is { });
545
handler = new RedirectHandler(settings._maxAutomaticRedirections, handler, disableAuthOnRedirect: settings.
_credentials
is not CredentialCache);