22 references to IdentityClaim
dotnet-svcutil-lib (22)
CodeDomFixup\MethodCreationHelper.cs (1)
2142
createIdentityExpression = new CodeObjectCreateExpression(identity.GetType(), new CodePrimitiveExpression(identity.
IdentityClaim
.Resource));
FrameworkFork\System.ServiceModel\System\ServiceModel\DnsEndpointIdentity.cs (1)
39
writer.WriteElementString(XD.AddressingDictionary.Dns, XD.AddressingDictionary.IdentityExtensionNamespace, (string)this.
IdentityClaim
.Resource);
FrameworkFork\System.ServiceModel\System\ServiceModel\EndpointIdentity.cs (4)
88
return Matches(otherIdentity.
IdentityClaim
);
93
return GetClaimComparer().GetHashCode(this.
IdentityClaim
);
98
return GetClaimComparer().Equals(this.
IdentityClaim
, claim);
182
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.UnrecognizedIdentityPropertyType, this.
IdentityClaim
.GetType().ToString())));
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\IdentityVerifier.cs (9)
91
if (identity.
IdentityClaim
!= null
92
&& identity.
IdentityClaim
.ClaimType == ClaimTypes.Dns
93
&& identity.
IdentityClaim
.Right == Rights.PossessProperty
94
&& identity.
IdentityClaim
.Resource is string)
96
string expectedDnsName = (string)identity.
IdentityClaim
.Resource;
225
if (claimSet.ContainsClaim(identity.
IdentityClaim
))
227
SecurityTraceRecordHelper.TraceIdentityVerificationSuccess(eventTraceActivity, identity, identity.
IdentityClaim
, this.GetType());
233
if (ClaimTypes.Dns.Equals(identity.
IdentityClaim
.ClaimType))
235
expectedSpn = string.Format(CultureInfo.InvariantCulture, "host/{0}", (string)identity.
IdentityClaim
.Resource);
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\SecurityUtils.cs (6)
386
if (ClaimTypes.Spn.Equals(identity.
IdentityClaim
.ClaimType))
388
spn = (string)identity.
IdentityClaim
.Resource;
391
else if (ClaimTypes.Upn.Equals(identity.
IdentityClaim
.ClaimType))
393
spn = (string)identity.
IdentityClaim
.Resource;
396
else if (ClaimTypes.Dns.Equals(identity.
IdentityClaim
.ClaimType))
398
spn = string.Format(CultureInfo.InvariantCulture, "host/{0}", (string)identity.
IdentityClaim
.Resource);
FrameworkFork\System.ServiceModel\System\ServiceModel\SpnEndpointIdentity.cs (1)
65
writer.WriteElementString(XD.AddressingDictionary.Spn, XD.AddressingDictionary.IdentityExtensionNamespace, (string)this.
IdentityClaim
.Resource);