59 references to SysClaim
System.IdentityModel (36)
System\IdentityModel\Claims\Claim.cs (7)
84
system = new
Claim
(ClaimTypes.System, XsiConstants.System, Rights.Identity);
119
return new
Claim
(ClaimTypes.DenyOnlySid, sid, Rights.PossessProperty);
135
return new
Claim
(ClaimTypes.Email, mailAddress, Rights.PossessProperty);
143
return new
Claim
(ClaimTypes.Name, name, Rights.PossessProperty);
159
return new
Claim
(ClaimTypes.Spn, spn, Rights.PossessProperty);
183
return new
Claim
(ClaimTypes.Uri, uri, Rights.PossessProperty);
191
return new
Claim
(ClaimTypes.Sid, sid, Rights.PossessProperty);
System\IdentityModel\Claims\ClaimSet.cs (2)
28
claims.Add(new
Claim
(ClaimTypes.System, XsiConstants.System, Rights.PossessProperty));
43
claims.Add(new
Claim
(ClaimTypes.Sid, sid, Rights.Identity));
System\IdentityModel\Claims\WindowsClaimSet.cs (2)
155
claims.Add(new
Claim
(ClaimTypes.Sid, this.windowsIdentity.User, Rights.Identity));
207
yield return new
Claim
(ClaimTypes.Sid, this.windowsIdentity.User, Rights.Identity);
System\IdentityModel\Claims\X509CertificateClaimSet.cs (5)
169
claims.Add(new
Claim
(ClaimTypes.Thumbprint, thumbprint, Rights.Identity));
170
claims.Add(new
Claim
(ClaimTypes.Thumbprint, thumbprint, Rights.PossessProperty));
243
yield return new
Claim
(ClaimTypes.Thumbprint, this.certificate.GetCertHash(), Rights.Identity);
247
yield return new
Claim
(ClaimTypes.Thumbprint, this.certificate.GetCertHash(), Rights.PossessProperty);
349
claims.Add(new
Claim
(ClaimTypes.X500DistinguishedName, x500DistinguishedName, Rights.Identity));
System\IdentityModel\Selectors\CustomUserNameSecurityTokenAuthenticator.cs (1)
43
claims.Add(new
Claim
(ClaimTypes.Name, userName, Rights.Identity));
System\IdentityModel\Selectors\RsaSecurityTokenAuthenticator.cs (1)
28
claims.Add(new
Claim
(ClaimTypes.Rsa, rsaToken.Rsa, Rights.Identity));
System\IdentityModel\Selectors\SamlSecurityTokenAuthenticator.cs (1)
192
return new DefaultClaimSet(new
Claim
(ClaimTypes.Rsa, rsaKeyIdentifierClause.Rsa, Rights.PossessProperty));
System\IdentityModel\Tokens\SamlAttribute.cs (1)
196
tempClaims.Add(new
Claim
(this.claimType, this.attributeValues[i], Rights.PossessProperty));
System\IdentityModel\Tokens\SamlAuthenticationStatement.cs (1)
149
claims.Add(new
Claim
(ClaimTypes.Authentication, new SamlAuthenticationClaimResource(this.authenticationInstant, this.authenticationMethod, this.dnsAddress, this.ipAddress, this.authorityBindings), Rights.PossessProperty));
System\IdentityModel\Tokens\SamlAuthorizationDecisionStatement.cs (1)
139
claims.Add(new
Claim
(ClaimTypes.AuthorizationDecision, new SamlAuthorizationDecisionClaimResource(this.resource, this.accessDecision, this.actions[i].Namespace, this.actions[i].Action), Rights.PossessProperty));
System\IdentityModel\Tokens\SamlSubject.cs (2)
211
this.claims.Add(new
Claim
(ClaimTypes.NameIdentifier, new SamlNameIdentifierClaimResource(this.name, this.nameQualifier, this.nameFormat), Rights.Identity));
212
this.claims.Add(new
Claim
(ClaimTypes.NameIdentifier, new SamlNameIdentifierClaimResource(this.name, this.nameQualifier, this.nameFormat), Rights.PossessProperty));
System\IdentityModel\Tokens\SessionSecurityToken.cs (12)
1649
return new
SysClaim
(SysClaimTypes.Sid, new SecurityIdentifier(sidBytes, 0), right);
1657
return new
SysClaim
(SysClaimTypes.DenyOnlySid, new SecurityIdentifier(sidBytes, 0), right);
1665
return new
SysClaim
(SysClaimTypes.X500DistinguishedName, new X500DistinguishedName(rawData), right);
1673
return new
SysClaim
(SysClaimTypes.Thumbprint, thumbprint, right);
1681
return new
SysClaim
(SysClaimTypes.Name, name, right);
1689
return new
SysClaim
(SysClaimTypes.Dns, dns, right);
1700
return new
SysClaim
(SysClaimTypes.Rsa, rsa, right);
1708
return new
SysClaim
(SysClaimTypes.Email, new System.Net.Mail.MailAddress(address), right);
1721
return new
SysClaim
(SysClaimTypes.Hash, hash, right);
1729
return new
SysClaim
(SysClaimTypes.Spn, spn, right);
1737
return new
SysClaim
(SysClaimTypes.Upn, upn, right);
1745
return new
SysClaim
(SysClaimTypes.Uri, new Uri(url), right);
System.ServiceModel (22)
System\ServiceModel\Channels\MsmqChannelListenerBase.cs (1)
210
claims.Add(new
Claim
(ClaimTypes.Sid, securityIdentifier, Rights.Identity));
System\ServiceModel\Channels\PeerSecurityHelpers.cs (1)
139
return new
Claim
(PeerClaimType, resourceValue, resourceRight);
System\ServiceModel\Security\IdentityModelServiceAuthorizationManager.cs (2)
369
if (claimset.ContainsClaim(new System.IdentityModel.Claims.
Claim
(
385
if (claimset.ContainsClaim(new System.IdentityModel.Claims.
Claim
(
System\ServiceModel\Security\SctClaimSerializer.cs (12)
239
return new
Claim
(ClaimTypes.Sid, new SecurityIdentifier(sidBytes, 0), right);
247
return new
Claim
(ClaimTypes.DenyOnlySid, new SecurityIdentifier(sidBytes, 0), right);
255
return new
Claim
(ClaimTypes.X500DistinguishedName, new X500DistinguishedName(rawData), right);
263
return new
Claim
(ClaimTypes.Thumbprint, thumbprint, right);
271
return new
Claim
(ClaimTypes.Name, name, right);
279
return new
Claim
(ClaimTypes.Dns, dns, right);
290
return new
Claim
(ClaimTypes.Rsa, rsa, right);
298
return new
Claim
(ClaimTypes.Email, new System.Net.Mail.MailAddress(address), right);
311
return new
Claim
(ClaimTypes.Hash, hash, right);
319
return new
Claim
(ClaimTypes.Spn, spn, right);
327
return new
Claim
(ClaimTypes.Upn, upn, right);
335
return new
Claim
(ClaimTypes.Uri, new Uri(url), right);
System\ServiceModel\Security\SecurityUtils.cs (2)
973
identityClaim = new
Claim
(ClaimTypes.Upn, principalName, Rights.Identity);
978
identityClaim = new
Claim
(ClaimTypes.Spn, principalName, Rights.Identity);
System\ServiceModel\Security\Tokens\KerberosRequestorSecurityTokenAuthenticator.cs (1)
32
ClaimSet claimSet = new DefaultClaimSet(ClaimSet.System, new
Claim
(ClaimTypes.Spn, kerbToken.ServicePrincipalName, Rights.PossessProperty));
System\ServiceModel\X509CertificateEndpointIdentity.cs (3)
24
base.Initialize(new
Claim
(ClaimTypes.Thumbprint, certificate.GetCertHash(), Rights.PossessProperty));
37
base.Initialize(new
Claim
(ClaimTypes.Thumbprint, primaryCertificate.GetCertHash(), Rights.PossessProperty));
64
base.Initialize(new
Claim
(ClaimTypes.Thumbprint, certificate.GetCertHash(), Rights.PossessProperty));
System.ServiceModel.Activities (1)
System\ServiceModel\XamlIntegration\EndpointIdentityExtension.cs (1)
45
Claim claim = new
Claim
(this.ClaimType, this.ClaimResource, this.ClaimRight);