2 writes to _serverTokenProvider
System.ServiceModel.NetFramingBase (2)
System\ServiceModel\Channels\SslStreamSecurityUpgradeProvider.cs (2)
42
_serverTokenProvider
= serverTokenProvider;
219
_serverTokenProvider
= null;
6 references to _serverTokenProvider
System.ServiceModel.NetFramingBase (6)
System\ServiceModel\Channels\SslStreamSecurityUpgradeProvider.cs (6)
186
SecurityUtils.AbortTokenProviderIfRequired(
_serverTokenProvider
);
188
SR.InvalidTokenProvided,
_serverTokenProvider
.GetType(), typeof(X509SecurityToken))));
213
if (
_serverTokenProvider
!= null)
215
await SecurityUtils.OpenTokenProviderIfRequiredAsync(
_serverTokenProvider
, timeoutHelper.RemainingTime());
216
SecurityToken token =
_serverTokenProvider
.GetTokenAsync(timeoutHelper.RemainingTime()).GetAwaiter().GetResult();
218
await SecurityUtils.CloseTokenProviderIfRequiredAsync(
_serverTokenProvider
, timeoutHelper.RemainingTime());