1 write to AuthenticationScheme
System.ServiceModel.Http (1)
System\ServiceModel\Channels\HttpChannelFactory.cs (1)
93
AuthenticationScheme
= bindingElement.AuthenticationScheme;
19 references to AuthenticationScheme
System.ServiceModel.Http (19)
System\ServiceModel\Channels\ClientWebSocketTransportDuplexSessionChannel.cs (5)
142
if (HttpChannelFactory<IDuplexSessionChannel>.MapIdentity(RemoteAddress, _channelFactory.
AuthenticationScheme
))
191
await HttpChannelUtilities.GetCredentialAsync(_channelFactory.
AuthenticationScheme
, _webRequestTokenProvider, timeout);
208
if (_channelFactory.
AuthenticationScheme
!= AuthenticationSchemes.Anonymous)
218
if (_channelFactory.
AuthenticationScheme
== AuthenticationSchemes.IntegratedWindowsAuthentication)
227
credentials.Add(credentialCacheUriPrefix, AuthenticationSchemesHelper.ToString(_channelFactory.
AuthenticationScheme
),
System\ServiceModel\Channels\HttpChannelFactory.cs (11)
196
return
AuthenticationScheme
!= AuthenticationSchemes.Anonymous;
249
(NetworkCredential credential, TokenImpersonationLevel impersonationLevel, AuthenticationLevel authenticationLevel) = await HttpChannelUtilities.GetCredentialAsync(
AuthenticationScheme
,
308
if (
AuthenticationScheme
!= AuthenticationSchemes.Anonymous)
323
if (
AuthenticationScheme
== AuthenticationSchemes.IntegratedWindowsAuthentication)
332
credentials.Add(credentialCacheUriPrefix, AuthenticationSchemesHelper.ToString(
AuthenticationScheme
),
391
if (
AuthenticationScheme
!= AuthenticationSchemes.Anonymous)
397
switch (
AuthenticationScheme
)
560
if (
AuthenticationScheme
!= AuthenticationSchemes.Anonymous)
658
if (IsWindowsAuth(
AuthenticationScheme
))
745
SecurityTokenProviderContainer tokenProvider = await CreateAndOpenTokenProviderAsync(timeoutHelper.RemainingTime(),
AuthenticationScheme
, to, via, channelParameters);
784
return MapIdentity(target,
AuthenticationScheme
);
System\ServiceModel\Channels\HttpResponseMessageHelper.cs (2)
382
string message = SR.Format(SR.HttpAuthorizationFailed, _factory.
AuthenticationScheme
,
390
string message = SR.Format(SR.HttpAuthorizationForbidden, _factory.
AuthenticationScheme
);
System\ServiceModel\Channels\HttpsChannelFactory.cs (1)
88
if (!IsWindowsAuth(
AuthenticationScheme
)