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