1 write to _newDbConnectionPoolAuthenticationContext
System.Data (1)
fx\src\data\System\Data\SqlClient\SqlInternalConnectionTds.cs (1)
2480
_newDbConnectionPoolAuthenticationContext
= new DbConnectionPoolAuthenticationContext(fedAuthToken.accessToken, expirationTime);
6 references to _newDbConnectionPoolAuthenticationContext
System.Data (6)
fx\src\data\System\Data\SqlClient\SqlInternalConnectionTds.cs (6)
2267
Debug.Assert(!attemptRefreshTokenLocked ||
_newDbConnectionPoolAuthenticationContext
!= null, "Either Lock should not have been obtained or _newDbConnectionPoolAuthenticationContext should not be null.");
2289
Debug.Assert(
_newDbConnectionPoolAuthenticationContext
!= null, "_newDbConnectionPoolAuthenticationContext should not be null.");
2295
Debug.Assert(
_newDbConnectionPoolAuthenticationContext
== null, "_newDbConnectionPoolAuthenticationContext should be null.");
2560
if (
_newDbConnectionPoolAuthenticationContext
!= null)
2564
DbConnectionPoolAuthenticationContext newAuthenticationContextInCacheAfterAddOrUpdate = _dbConnectionPool.AuthenticationContexts.AddOrUpdate(_dbConnectionPoolAuthenticationContextKey,
_newDbConnectionPoolAuthenticationContext
,
2565
(key, oldValue) => DbConnectionPoolAuthenticationContext.ChooseAuthenticationContextToUpdate(oldValue,
_newDbConnectionPoolAuthenticationContext
));