6 writes to UserName
Binding.WS.FederationHttp.IntegrationTests (3)
WSFederationHttpBindingTests.cs (3)
56
factory.Credentials.UserName.
UserName
= "PlaceholderUser";
107
factory.Credentials.UserName.
UserName
= "PlaceholderUser";
158
factory.Credentials.UserName.
UserName
= "PlaceholderUser";
Security.TransportSecurity.IntegrationTests (3)
Https\ClientCredentialTypeTests.4.1.0.cs (3)
52
factory.Credentials.UserName.
UserName
= username;
127
factory.Credentials.UserName.
UserName
= username;
185
factory.Credentials.UserName.
UserName
= "";
6 references to UserName
System.ServiceModel.Http (4)
System\ServiceModel\Channels\HttpChannelFactory.cs (4)
400
if (credentials.UserName.
UserName
== null)
402
throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull(nameof(ClientCredentials.UserName.
UserName
));
405
if (credentials.UserName.
UserName
== string.Empty)
410
creds = new NetworkCredential(credentials.UserName.
UserName
, credentials.UserName.Password);
System.ServiceModel.Primitives (2)
System\ServiceModel\Security\ClientCredentialsSecurityTokenManager.cs (2)
134
if (ClientCredentials.UserName.
UserName
== null)
138
result = new UserNameSecurityTokenProvider(ClientCredentials.UserName.
UserName
, ClientCredentials.UserName.Password);