1 write to _parent
dotnet-svcutil-lib (1)
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\ClientCredentialsSecurityTokenManager.cs (1)
29
_parent
= clientCredentials;
17 references to _parent
dotnet-svcutil-lib (17)
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\ClientCredentialsSecurityTokenManager.cs (17)
34
get { return
_parent
; }
107
if (
_parent
.ClientCertificate.Certificate == null)
111
result = new X509SecurityTokenProvider(
_parent
.ClientCertificate.Certificate);
129
if (
_parent
.ClientCertificate.Certificate == null)
133
result = new X509SecurityTokenProvider(
_parent
.ClientCertificate.Certificate);
140
new KerberosSecurityTokenProvider(spn,
_parent
.Windows.AllowedImpersonationLevel, SecurityUtils.GetNetworkCredentialOrDefault(
_parent
.Windows.ClientCredential)));
144
if (
_parent
.UserName.UserName == null)
148
result = new UserNameSecurityTokenProvider(
_parent
.UserName.UserName,
_parent
.UserName.Password);
154
result = new SspiSecurityTokenProvider(SecurityUtils.GetNetworkCredentialOrDefault(
_parent
.HttpDigest.ClientCredential), true, TokenImpersonationLevel.Delegation);
159
result = new SspiSecurityTokenProvider(SecurityUtils.GetNetworkCredentialOrDefault(
_parent
.Windows.ClientCredential),
161
_parent
.Windows.AllowNtlm,
162
_parent
.Windows.AllowedImpersonationLevel);
184
return new X509SecurityTokenAuthenticator(
_parent
.ServiceCertificate.Authentication.GetCertificateValidator(), false);
189
if (
_parent
.ServiceCertificate.SslCertificateAuthentication != null)
191
return new X509SecurityTokenAuthenticator(
_parent
.ServiceCertificate.SslCertificateAuthentication.GetCertificateValidator(), false);