3 writes to serverTokenProvider
System.ServiceModel (3)
System\ServiceModel\Channels\SslStreamSecurityUpgradeProvider.cs (3)
52
this.
serverTokenProvider
= serverTokenProvider;
318
this.
serverTokenProvider
= null;
428
parent.
serverTokenProvider
= null;
11 references to serverTokenProvider
System.ServiceModel (11)
System\ServiceModel\Channels\SslStreamSecurityUpgradeProvider.cs (11)
288
SecurityUtils.AbortTokenProviderIfRequired(this.
serverTokenProvider
);
290
SR.InvalidTokenProvided, this.
serverTokenProvider
.GetType(), typeof(X509SecurityToken))));
312
if (this.
serverTokenProvider
!= null)
314
SecurityUtils.OpenTokenProviderIfRequired(this.
serverTokenProvider
, timeoutHelper.RemainingTime());
315
SecurityToken token = this.
serverTokenProvider
.GetToken(timeout);
317
SecurityUtils.CloseTokenProviderIfRequired(this.
serverTokenProvider
, timeoutHelper.RemainingTime());
375
if (parent.
serverTokenProvider
== null)
382
parent.
serverTokenProvider
, timeoutHelper.RemainingTime(), onOpenTokenProvider, this);
397
IAsyncResult getTokenResult = parent.
serverTokenProvider
.BeginGetToken(timeoutHelper.RemainingTime(),
410
SecurityToken token = parent.
serverTokenProvider
.EndGetToken(result);
414
SecurityUtils.BeginCloseTokenProviderIfRequired(parent.
serverTokenProvider
, timeoutHelper.RemainingTime(),