102 references to MessageCredentialType
System.ServiceModel (101)
System\ServiceModel\Channels\TransportDefaults.cs (4)
156internal const MessageCredentialType DefaultClientCredentialType = MessageCredentialType.Windows; 384internal const MessageCredentialType MessageSecurityClientCredentialType = MessageCredentialType.Windows;
System\ServiceModel\Configuration\MessageSecurityOverHttpElement.cs (2)
20public MessageCredentialType ClientCredentialType 22get { return (MessageCredentialType)base[ConfigurationStrings.ClientCredentialType]; }
System\ServiceModel\Configuration\MessageSecurityOverMsmqElement.cs (2)
20public MessageCredentialType ClientCredentialType 22get { return (MessageCredentialType)base[ConfigurationStrings.ClientCredentialType]; }
System\ServiceModel\Configuration\MessageSecurityOverTcpElement.cs (2)
20public MessageCredentialType ClientCredentialType 22get { return (MessageCredentialType)base[ConfigurationStrings.ClientCredentialType]; }
System\ServiceModel\Configuration\Properties.cs (6)
1727properties.Add(new ConfigurationProperty("clientCredentialType", typeof(System.ServiceModel.MessageCredentialType), System.ServiceModel.MessageCredentialType.Windows, null, new System.ServiceModel.Configuration.ServiceModelEnumValidator(typeof(System.ServiceModel.MessageCredentialTypeHelper)), System.Configuration.ConfigurationPropertyOptions.None)); 1753properties.Add(new ConfigurationProperty("clientCredentialType", typeof(System.ServiceModel.MessageCredentialType), System.ServiceModel.MessageCredentialType.Windows, null, new System.ServiceModel.Configuration.ServiceModelEnumValidator(typeof(System.ServiceModel.MessageCredentialTypeHelper)), System.Configuration.ConfigurationPropertyOptions.None)); 1778properties.Add(new ConfigurationProperty("clientCredentialType", typeof(System.ServiceModel.MessageCredentialType), System.ServiceModel.MessageCredentialType.Windows, null, new System.ServiceModel.Configuration.ServiceModelEnumValidator(typeof(System.ServiceModel.MessageCredentialTypeHelper)), System.Configuration.ConfigurationPropertyOptions.None));
System\ServiceModel\MessageCredentialType.cs (6)
17internal static bool IsDefined(MessageCredentialType value) 19return (value == MessageCredentialType.None || 20value == MessageCredentialType.UserName || 21value == MessageCredentialType.Windows || 22value == MessageCredentialType.Certificate || 23value == MessageCredentialType.IssuedToken);
System\ServiceModel\MessageSecurityOverHttp.cs (34)
15internal const MessageCredentialType DefaultClientCredentialType = MessageCredentialType.Windows; 18MessageCredentialType clientCredentialType; 30public MessageCredentialType ClientCredentialType 90case MessageCredentialType.None: 92case MessageCredentialType.UserName: 95case MessageCredentialType.Certificate: 98case MessageCredentialType.Windows: 101case MessageCredentialType.IssuedToken: 123case MessageCredentialType.None: 126case MessageCredentialType.UserName: 129case MessageCredentialType.Certificate: 132case MessageCredentialType.Windows: 135case MessageCredentialType.IssuedToken: 147case MessageCredentialType.None: 150case MessageCredentialType.UserName: 153case MessageCredentialType.Certificate: 156case MessageCredentialType.Windows: 160case MessageCredentialType.IssuedToken: 233MessageCredentialType clientCredentialType; 269clientCredentialType = MessageCredentialType.UserName; 273clientCredentialType = MessageCredentialType.Certificate; 277clientCredentialType = MessageCredentialType.Windows; 294clientCredentialType = MessageCredentialType.IssuedToken; 307clientCredentialType = MessageCredentialType.None; 312clientCredentialType = MessageCredentialType.UserName; 317clientCredentialType = MessageCredentialType.Certificate; 322clientCredentialType = MessageCredentialType.Windows; 340clientCredentialType = MessageCredentialType.IssuedToken; 345clientCredentialType = MessageCredentialType.UserName; 350clientCredentialType = MessageCredentialType.Certificate; 355clientCredentialType = MessageCredentialType.Windows; 373clientCredentialType = MessageCredentialType.IssuedToken; 378clientCredentialType = MessageCredentialType.None;
System\ServiceModel\MessageSecurityOverMsmq.cs (16)
15internal const MessageCredentialType DefaultClientCredentialType = MessageCredentialType.Windows; 17MessageCredentialType clientCredentialType; 28public MessageCredentialType ClientCredentialType 68case MessageCredentialType.None: 71case MessageCredentialType.UserName: 74case MessageCredentialType.Certificate: 77case MessageCredentialType.Windows: 81case MessageCredentialType.IssuedToken: 130MessageCredentialType clientCredentialType; 134clientCredentialType = MessageCredentialType.None; 138clientCredentialType = MessageCredentialType.UserName; 142clientCredentialType = MessageCredentialType.Certificate; 146clientCredentialType = MessageCredentialType.Windows; 162clientCredentialType = MessageCredentialType.IssuedToken; 172if (clientCredentialType != MessageCredentialType.IssuedToken && !isKerberosSelected)
System\ServiceModel\MessageSecurityOverTcp.cs (25)
16internal const MessageCredentialType DefaultClientCredentialType = MessageCredentialType.Windows; 18MessageCredentialType clientCredentialType; 29public MessageCredentialType ClientCredentialType 70case MessageCredentialType.None: 72case MessageCredentialType.UserName: 75case MessageCredentialType.Certificate: 78case MessageCredentialType.Windows: 81case MessageCredentialType.IssuedToken: 94case MessageCredentialType.None: 97case MessageCredentialType.UserName: 101case MessageCredentialType.Certificate: 104case MessageCredentialType.Windows: 108case MessageCredentialType.IssuedToken: 161MessageCredentialType clientCredentialType; 174clientCredentialType = MessageCredentialType.UserName; 176clientCredentialType = MessageCredentialType.Certificate; 178clientCredentialType = MessageCredentialType.Windows; 192clientCredentialType = MessageCredentialType.IssuedToken; 203clientCredentialType = MessageCredentialType.UserName; 205clientCredentialType = MessageCredentialType.Certificate; 207clientCredentialType = MessageCredentialType.Windows; 221clientCredentialType = MessageCredentialType.IssuedToken; 224clientCredentialType = MessageCredentialType.None; 231if (clientCredentialType != MessageCredentialType.IssuedToken)
System\ServiceModel\NetTcpBinding.cs (4)
306MessageCredentialType mct = message.ClientCredentialType; 307if ((mct == MessageCredentialType.Certificate) || (mct == MessageCredentialType.IssuedToken) || (mct == MessageCredentialType.Windows))
System.ServiceModel.Activities (1)
System\ServiceModel\Activities\Description\WorkflowInstanceManagementBehavior.cs (1)
62ClientCredentialType = MessageCredentialType.Windows