5 writes to ClientCredentialType
Binding.UDS.IntegrationTests (3)
UDSBindingTests.cs (3)
76
binding.Security.Transport.
ClientCredentialType
= System.ServiceModel.UnixDomainSocketClientCredentialType.Windows;
107
binding.Security.Transport.
ClientCredentialType
= System.ServiceModel.UnixDomainSocketClientCredentialType.Certificate;
157
binding.Security.Transport.
ClientCredentialType
= System.ServiceModel.UnixDomainSocketClientCredentialType.PosixIdentity;
System.ServiceModel.UnixDomainSocket.Tests (2)
ServiceModel\UnixDomainSocketTransportSecurityTest.cs (2)
32
transport.
ClientCredentialType
= credentialType;
40
Assert.Throws<ArgumentOutOfRangeException>(() => transport.
ClientCredentialType
= (UnixDomainSocketClientCredentialType)999);
5 references to ClientCredentialType
System.ServiceModel.UnixDomainSocket (2)
System\ServiceModel\UnixDomainSocketSecurity.cs (2)
59
if((_mode == UnixDomainSocketSecurityMode.TransportCredentialOnly && Transport.
ClientCredentialType
!= UnixDomainSocketClientCredentialType.PosixIdentity)
61
(_mode == UnixDomainSocketSecurityMode.Transport && Transport.
ClientCredentialType
== UnixDomainSocketClientCredentialType.PosixIdentity))
System.ServiceModel.UnixDomainSocket.Tests (3)
ServiceModel\UnixDomainSocketTransportSecurityTest.cs (3)
19
Assert.True(transport.
ClientCredentialType
== UnixDomainSocketClientCredentialType.Default,
20
String.Format("ClientCredentialType should have been '{0}' but was '{1}'", UnixDomainSocketClientCredentialType.Default, transport.
ClientCredentialType
));
33
Assert.Equal<UnixDomainSocketClientCredentialType>(credentialType, transport.
ClientCredentialType
);