90 references to Credentials
Binding.Custom.IntegrationTests (1)
CustomBindingTests.4.1.0.cs (1)
36
factory.
Credentials
.ServiceCertificate.Authentication.RevocationMode = X509RevocationMode.NoCheck;
Binding.UDS.IntegrationTests (1)
UDSBindingTests.cs (1)
118
factory.
Credentials
.ServiceCertificate.SslCertificateAuthentication = new System.ServiceModel.Security.X509ServiceCertificateAuthentication
Binding.WS.FederationHttp.IntegrationTests (6)
WSFederationHttpBindingTests.cs (6)
56
factory.
Credentials
.UserName.UserName = "PlaceholderUser";
58
factory.
Credentials
.UserName.Password = "PlaceholderPassword";
107
factory.
Credentials
.UserName.UserName = "PlaceholderUser";
109
factory.
Credentials
.UserName.Password = "PlaceholderPassword";
158
factory.
Credentials
.UserName.UserName = "PlaceholderUser";
160
factory.
Credentials
.UserName.Password = "PlaceholderPassword";
Client.ChannelLayer.IntegrationTests (6)
DuplexChannelWithSynchronizationContext.cs (6)
44
factory.
Credentials
.ServiceCertificate.Authentication.CertificateValidationMode = X509CertificateValidationMode.ChainTrust;
45
factory.
Credentials
.ClientCertificate.SetCertificate(
105
factory.
Credentials
.ServiceCertificate.Authentication.CertificateValidationMode = X509CertificateValidationMode.ChainTrust;
106
factory.
Credentials
.ClientCertificate.SetCertificate(
181
factory.
Credentials
.ServiceCertificate.Authentication.CertificateValidationMode = X509CertificateValidationMode.ChainTrust;
182
factory.
Credentials
.ClientCertificate.SetCertificate(
Client.ExpectedExceptions.IntegrationTests (2)
ExpectedExceptionTests.4.1.1.cs (2)
35
factory.
Credentials
.ServiceCertificate.Authentication.CertificateValidationMode = X509CertificateValidationMode.Custom;
36
factory.
Credentials
.ServiceCertificate.Authentication.CustomCertificateValidator = new MyCertificateValidator();
Security.TransportSecurity.IntegrationTests (72)
Http\ClientCredentialTypeTests.4.1.0.cs (2)
37
factory.
Credentials
.HttpDigest.ClientCredential = new NetworkCredential(username, password, realm);
98
factory.
Credentials
.HttpDigest.ClientCredential = new NetworkCredential(username, password, realm);
Https\ClientCredentialTypeTests.4.1.0.cs (8)
52
factory.
Credentials
.UserName.UserName = username;
53
factory.
Credentials
.UserName.Password = password;
127
factory.
Credentials
.UserName.UserName = username;
128
factory.
Credentials
.UserName.Password = password + "Invalid";
185
factory.
Credentials
.UserName.UserName = "";
186
factory.
Credentials
.UserName.Password = "NoUserName";
222
factory.
Credentials
.HttpDigest.ClientCredential.UserName = s_username;
223
factory.
Credentials
.HttpDigest.ClientCredential.Password = s_password;
Https\HttpsTests.4.1.0.cs (11)
42
factory.
Credentials
.ClientCertificate.SetCertificate(
246
factory.
Credentials
.ServiceCertificate.SslCertificateAuthentication = new X509ServiceCertificateAuthentication();
247
factory.
Credentials
.ServiceCertificate.SslCertificateAuthentication.CertificateValidationMode = X509CertificateValidationMode.Custom;
249
factory.
Credentials
.ServiceCertificate.SslCertificateAuthentication.CustomCertificateValidator = myX509CertificateValidator;
375
factory.
Credentials
.ClientCertificate.SetCertificate(
424
factory.
Credentials
.ClientCertificate.SetCertificate(
485
factory.
Credentials
.ClientCertificate.SetCertificate(
544
factory.
Credentials
.ClientCertificate.SetCertificate(
549
factory.
Credentials
.ServiceCertificate.SslCertificateAuthentication = new X509ServiceCertificateAuthentication();
550
factory.
Credentials
.ServiceCertificate.SslCertificateAuthentication.CertificateValidationMode = X509CertificateValidationMode.Custom;
552
factory.
Credentials
.ServiceCertificate.SslCertificateAuthentication.CustomCertificateValidator = myX509CertificateValidator;
Https\HttpsTests.4.1.1.cs (8)
42
factory.
Credentials
.ServiceCertificate.SslCertificateAuthentication = new X509ServiceCertificateAuthentication();
43
factory.
Credentials
.ServiceCertificate.SslCertificateAuthentication.CertificateValidationMode = X509CertificateValidationMode.PeerTrust;
93
factory.
Credentials
.ServiceCertificate.SslCertificateAuthentication = new X509ServiceCertificateAuthentication();
94
factory.
Credentials
.ServiceCertificate.SslCertificateAuthentication.CertificateValidationMode = X509CertificateValidationMode.PeerTrust;
151
factory.
Credentials
.ServiceCertificate.SslCertificateAuthentication = new X509ServiceCertificateAuthentication();
152
factory.
Credentials
.ServiceCertificate.SslCertificateAuthentication.CertificateValidationMode = X509CertificateValidationMode.PeerOrChainTrust;
196
factory.
Credentials
.ServiceCertificate.SslCertificateAuthentication = new X509ServiceCertificateAuthentication();
197
factory.
Credentials
.ServiceCertificate.SslCertificateAuthentication.CertificateValidationMode = X509CertificateValidationMode.ChainTrust;
Negotiate\NegotiateStream_Http_Tests.4.1.0.cs (12)
135
factory.
Credentials
.Windows.ClientCredential.Domain = GetDomain();
136
factory.
Credentials
.Windows.ClientCredential.UserName = GetExplicitUserName();
137
factory.
Credentials
.Windows.ClientCredential.Password = GetExplicitPassword();
187
factory.
Credentials
.Windows.ClientCredential.Domain = GetDomain();
188
factory.
Credentials
.Windows.ClientCredential.UserName = GetExplicitUserName();
189
factory.
Credentials
.Windows.ClientCredential.Password = GetExplicitPassword();
335
factory.
Credentials
.Windows.ClientCredential.Domain = GetDomain();
336
factory.
Credentials
.Windows.ClientCredential.UserName = GetExplicitUserName();
337
factory.
Credentials
.Windows.ClientCredential.Password = GetExplicitPassword();
385
factory.
Credentials
.Windows.ClientCredential.Domain = GetDomain();
386
factory.
Credentials
.Windows.ClientCredential.UserName = GetExplicitUserName();
387
factory.
Credentials
.Windows.ClientCredential.Password = GetExplicitPassword();
Negotiate\NegotiateStream_Tcp_Tests.4.1.0.cs (9)
118
factory.
Credentials
.Windows.ClientCredential.Domain = GetDomain();
119
factory.
Credentials
.Windows.ClientCredential.UserName = GetExplicitUserName();
120
factory.
Credentials
.Windows.ClientCredential.Password = GetExplicitPassword();
259
factory.
Credentials
.Windows.ClientCredential.Domain = GetDomain();
260
factory.
Credentials
.Windows.ClientCredential.UserName = GetExplicitUserName();
261
factory.
Credentials
.Windows.ClientCredential.Password = GetExplicitPassword();
306
factory.
Credentials
.Windows.ClientCredential.Domain = GetDomain();
307
factory.
Credentials
.Windows.ClientCredential.UserName = GetExplicitUserName();
308
factory.
Credentials
.Windows.ClientCredential.Password = GetExplicitPassword();
Tcp\ClientCredentialTypeCertificateCanonicalNameTests.4.1.0.cs (4)
47
factory.
Credentials
.ServiceCertificate.Authentication.CertificateValidationMode = X509CertificateValidationMode.ChainTrust;
123
factory.
Credentials
.ServiceCertificate.Authentication.CertificateValidationMode = X509CertificateValidationMode.ChainTrust;
208
factory.
Credentials
.ServiceCertificate.Authentication.RevocationMode = X509RevocationMode.NoCheck;
209
factory.
Credentials
.ServiceCertificate.Authentication.CertificateValidationMode = X509CertificateValidationMode.ChainTrust;
Tcp\ClientCredentialTypeTests.4.1.0.cs (7)
38
factory.
Credentials
.ServiceCertificate.Authentication.CertificateValidationMode = X509CertificateValidationMode.None;
39
factory.
Credentials
.ClientCertificate.SetCertificate(
87
factory.
Credentials
.ServiceCertificate.Authentication.CertificateValidationMode = X509CertificateValidationMode.Custom;
90
factory.
Credentials
.ServiceCertificate.Authentication.CustomCertificateValidator = myX509CertificateValidator;
91
factory.
Credentials
.ClientCertificate.SetCertificate(
137
factory.
Credentials
.ServiceCertificate.Authentication.RevocationMode = X509RevocationMode.NoCheck;
138
factory.
Credentials
.ServiceCertificate.Authentication.CertificateValidationMode = X509CertificateValidationMode.ChainTrust;
Tcp\ClientCredentialTypeTests.4.1.1.cs (7)
43
factory.
Credentials
.ServiceCertificate.Authentication.CertificateValidationMode = X509CertificateValidationMode.PeerTrust;
93
factory.
Credentials
.ServiceCertificate.Authentication.CertificateValidationMode = X509CertificateValidationMode.PeerTrust;
150
factory.
Credentials
.ServiceCertificate.Authentication.CertificateValidationMode = X509CertificateValidationMode.PeerOrChainTrust;
196
factory.
Credentials
.ServiceCertificate.Authentication.RevocationMode = X509RevocationMode.NoCheck;
197
factory.
Credentials
.ServiceCertificate.Authentication.CertificateValidationMode = X509CertificateValidationMode.ChainTrust;
248
factory.
Credentials
.ServiceCertificate.Authentication.CertificateValidationMode = X509CertificateValidationMode.ChainTrust;
249
factory.
Credentials
.ClientCertificate.SetCertificate(
Tcp\ClientCredentialTypeTests.OSX.cs (2)
69
factory.
Credentials
.ServiceCertificate.Authentication.CertificateValidationMode = X509CertificateValidationMode.Custom;
70
factory.
Credentials
.ServiceCertificate.Authentication.CustomCertificateValidator = new OSXPeerCertificateValidator();
Tcp\IdentityTests.4.1.0.cs (1)
31
factory.
Credentials
.ServiceCertificate.Authentication.RevocationMode = X509RevocationMode.NoCheck;
Tcp\IdentityTests.4.1.1.cs (1)
31
factory.
Credentials
.ServiceCertificate.Authentication.RevocationMode = X509RevocationMode.NoCheck;
System.ServiceModel.Http.Tests (1)
ServiceModel\BasicHttpsBindingTest.cs (1)
75
factory.
Credentials
.ClientCertificate.Certificate = certificate;
System.ServiceModel.Primitives (1)
System\ServiceModel\ClientBase.cs (1)
239
return ChannelFactory.
Credentials
;