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