25 references to AddClaim
mscorlib (2)
system\security\claims\ClaimsIdentity.cs (1)
677AddClaim(claim);
system\security\principal\genericidentity.cs (1)
160base.AddClaim(new Claim(base.NameClaimType, m_name, ClaimValueTypes.String, ClaimsIdentity.DefaultIssuer, ClaimsIdentity.DefaultIssuer, this));
System.IdentityModel (20)
System\IdentityModel\Claims\ClaimsConversionHelper.cs (1)
52claimsIdentity.AddClaim(CreateClaimFromWcfClaim(claimset[i], issuer));
System\IdentityModel\Tokens\KerberosSecurityTokenHandler.cs (2)
98wi.AddClaim(new Claim(ClaimTypes.AuthenticationInstant, XmlConvert.ToString(DateTime.UtcNow, DateTimeFormats.Generated), ClaimValueTypes.DateTime)); 99wi.AddClaim(new Claim(ClaimTypes.AuthenticationMethod, AuthenticationMethods.Windows, ClaimValueTypes.String));
System\IdentityModel\Tokens\RsaSecurityTokenHandler.cs (2)
171identity.AddClaim(new Claim(ClaimTypes.AuthenticationInstant, XmlConvert.ToString(DateTime.UtcNow, DateTimeFormats.Generated), ClaimValueTypes.DateTime)); 172identity.AddClaim(new Claim(ClaimTypes.AuthenticationMethod, AuthenticationMethods.Signature));
System\IdentityModel\Tokens\Saml2SecurityTokenHandler.cs (4)
1806subject.AddClaim(claim); 1863subject.AddClaim(claim); 1977subject.AddClaim( 1985subject.AddClaim(new Claim(ClaimTypes.AuthenticationInstant, XmlConvert.ToString(statement.AuthenticationInstant.ToUniversalTime(), DateTimeFormats.Generated), ClaimValueTypes.DateTime, issuer));
System\IdentityModel\Tokens\SamlSecurityTokenHandler.cs (4)
1307subject.AddClaim(new Claim(claimType, attr.AttributeValues[k], claimValueType, issuer, originalIssuer)); 1376subject.AddClaim(claim); 1406subject.AddClaim(new Claim(ClaimTypes.AuthenticationMethod, NormalizeAuthenticationType(samlStatement.AuthenticationMethod), ClaimValueTypes.String, issuer)); 1407subject.AddClaim(new Claim(ClaimTypes.AuthenticationInstant, XmlConvert.ToString(samlStatement.AuthenticationInstant.ToUniversalTime(), DateTimeFormats.Generated), ClaimValueTypes.DateTime, issuer));
System\IdentityModel\Tokens\SecurityTokenDescriptor.cs (2)
246this.Subject.AddClaim( 249this.Subject.AddClaim(
System\IdentityModel\Tokens\WindowsUserNameSecurityTokenHandler.cs (2)
104windowsIdentity.AddClaim(new Claim(ClaimTypes.AuthenticationInstant, XmlConvert.ToString(DateTime.UtcNow, DateTimeFormats.Generated), ClaimValueTypes.DateTime)); 105windowsIdentity.AddClaim(new Claim(ClaimTypes.AuthenticationMethod, AuthenticationMethods.Password));
System\IdentityModel\Tokens\X509SecurityTokenHandler.cs (3)
545identity.AddClaim(new Claim(ClaimTypes.AuthenticationMethod, AuthenticationMethods.X509)); 577windowsIdentity.AddClaim(new Claim(ClaimTypes.AuthenticationMethod, AuthenticationMethods.X509)); 586identity.AddClaim(new Claim(ClaimTypes.AuthenticationInstant, XmlConvert.ToString(DateTime.UtcNow, DateTimeFormats.Generated), ClaimValueTypes.DateTime));
System.ServiceModel (2)
System\ServiceModel\Security\IdentityModelServiceAuthorizationManager.cs (2)
569claimsIdentity.AddClaim( 586claimsIdentity.AddClaim(
System.Web (1)
Security\FormsIdentity.cs (1)
118base.AddClaim(new Claim(base.NameClaimType, _Ticket.Name, ClaimValueTypes.String, "Forms", "Forms", this));