1 write to ClientCredentials
System.ServiceModel.Primitives (1)
System\ServiceModel\Security\ClientCredentialsSecurityTokenManager.cs (1)
22ClientCredentials = clientCredentials ?? throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull(nameof(clientCredentials));
18 references to ClientCredentials
System.ServiceModel.Primitives (18)
System\ServiceModel\Security\ClientCredentialsSecurityTokenManager.cs (18)
97if (ClientCredentials.ClientCertificate.Certificate == null) 101result = new X509SecurityTokenProvider(ClientCredentials.ClientCertificate.Certificate, ClientCredentials.ClientCertificate.CloneCertificate); 119if (ClientCredentials.ClientCertificate.Certificate == null) 123result = new X509SecurityTokenProvider(ClientCredentials.ClientCertificate.Certificate, ClientCredentials.ClientCertificate.CloneCertificate); 130new KerberosSecurityTokenProvider(spn, ClientCredentials.Windows.AllowedImpersonationLevel, SecurityUtils.GetNetworkCredentialOrDefault(ClientCredentials.Windows.ClientCredential))); 134if (ClientCredentials.UserName.UserName == null) 138result = new UserNameSecurityTokenProvider(ClientCredentials.UserName.UserName, ClientCredentials.UserName.Password); 144result = new SspiSecurityTokenProvider(SecurityUtils.GetNetworkCredentialOrDefault(ClientCredentials.HttpDigest.ClientCredential), true, TokenImpersonationLevel.Delegation); 149result = new SspiSecurityTokenProvider(SecurityUtils.GetNetworkCredentialOrDefault(ClientCredentials.Windows.ClientCredential), 151ClientCredentials.Windows.AllowNtlm, 152ClientCredentials.Windows.AllowedImpersonationLevel); 256return new X509SecurityTokenAuthenticator(ClientCredentials.ServiceCertificate.Authentication.GetCertificateValidator()); 261if (ClientCredentials.ServiceCertificate.SslCertificateAuthentication != null) 263return new X509SecurityTokenAuthenticator(ClientCredentials.ServiceCertificate.SslCertificateAuthentication.GetCertificateValidator());