16 references to Resource
dotnet-svcutil-lib (16)
CodeDomFixup\MethodCreationHelper.cs (1)
2142
createIdentityExpression = new CodeObjectCreateExpression(identity.GetType(), new CodePrimitiveExpression(identity.IdentityClaim.
Resource
));
FrameworkFork\System.ServiceModel\System\IdentityModel\Claims\ClaimComparer.cs (4)
153
return _resourceComparer.Equals(claim1.
Resource
, claim2.
Resource
);
162
^ ((claim.
Resource
== null) ? 0 : _resourceComparer.GetHashCode(claim.
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\Security\IdentityVerifier.cs (6)
94
&& identity.IdentityClaim.
Resource
is string)
96
string expectedDnsName = (string)identity.IdentityClaim.
Resource
;
103
if (claim.
Resource
is string)
105
actualDnsName = (string)claim.
Resource
;
198
if (expectedSpn.Equals((string)claim.
Resource
, StringComparison.OrdinalIgnoreCase))
235
expectedSpn = string.Format(CultureInfo.InvariantCulture, "host/{0}", (string)identity.IdentityClaim.
Resource
);
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\SecurityUtils.cs (3)
388
spn = (string)identity.IdentityClaim.
Resource
;
393
spn = (string)identity.IdentityClaim.
Resource
;
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
);