2 writes to _serverTokenProvider
dotnet-svcutil-lib (2)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\SslStreamSecurityUpgradeProvider.cs (2)
50
_serverTokenProvider
= serverTokenProvider;
291
_serverTokenProvider
= null;
6 references to _serverTokenProvider
dotnet-svcutil-lib (6)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\SslStreamSecurityUpgradeProvider.cs (6)
262
SecurityUtils.AbortTokenProviderIfRequired(
_serverTokenProvider
);
264
SRServiceModel.InvalidTokenProvided,
_serverTokenProvider
.GetType(), typeof(X509SecurityToken))));
285
if (
_serverTokenProvider
!= null)
287
SecurityUtils.OpenTokenProviderIfRequired(
_serverTokenProvider
, timeoutHelper.RemainingTime());
288
SecurityToken token =
_serverTokenProvider
.GetTokenAsync(cts.Token).GetAwaiter().GetResult();
290
SecurityUtils.CloseTokenProviderIfRequired(
_serverTokenProvider
, timeoutHelper.RemainingTime());