107 references to EmptyString
System.IdentityModel (107)
System\IdentityModel\Tokens\SessionSecurityToken.cs (107)
374if (reader.IsStartElement(dictionary.SecurityContextToken, dictionary.EmptyString)) 378else if (reader.IsStartElement(dictionary.SessionToken, dictionary.EmptyString)) 381if (reader.GetAttribute(dictionary.PersistentTrue, dictionary.EmptyString) == null) 386if (reader.GetAttribute(dictionary.ReferenceModeTrue, dictionary.EmptyString) != null) 395if (reader.IsStartElement(dictionary.Context, dictionary.EmptyString)) 431if (reader.IsStartElement(dictionary.Id, dictionary.EmptyString)) 441if (!reader.IsStartElement(dictionary.ContextId, dictionary.EmptyString)) 448if (!reader.IsStartElement(dictionary.Key, dictionary.EmptyString)) 456if (reader.IsStartElement(dictionary.KeyGeneration, dictionary.EmptyString)) 461if (!reader.IsStartElement(dictionary.EffectiveTime, dictionary.EmptyString)) 467if (!reader.IsStartElement(dictionary.ExpiryTime, dictionary.EmptyString)) 473if (!reader.IsStartElement(dictionary.KeyEffectiveTime, dictionary.EmptyString)) 479if (!reader.IsStartElement(dictionary.KeyExpiryTime, dictionary.EmptyString)) 487if (reader.IsStartElement(dictionary.ClaimsPrincipal, dictionary.EmptyString)) 493if (reader.IsStartElement(dictionary.SctAuthorizationPolicy, dictionary.EmptyString)) 495reader.ReadStartElement(dictionary.SctAuthorizationPolicy, dictionary.EmptyString); 502if (reader.IsStartElement(dictionary.EndpointId, dictionary.EmptyString)) 691dicWriter.WriteStartElement(dictionary.SecurityContextToken, dictionary.EmptyString); 695dicWriter.WriteStartElement(dictionary.SessionToken, dictionary.EmptyString); 700dicWriter.WriteAttributeString(dictionary.PersistentTrue, dictionary.EmptyString, ""); 706dicWriter.WriteAttributeString(dictionary.ReferenceModeTrue, dictionary.EmptyString, ""); 712dicWriter.WriteElementString(dictionary.Context, dictionary.EmptyString, this.Context); 718dicWriter.WriteStartElement(dictionary.Version, dictionary.EmptyString); 725dicWriter.WriteElementString(dictionary.SecureConversationVersion, dictionary.EmptyString, this.SecureConversationVersion.AbsoluteUri); 730dicWriter.WriteElementString(dictionary.Id, dictionary.EmptyString, this.Id); 731XmlUtil.WriteElementStringAsUniqueId(dicWriter, dictionary.ContextId, dictionary.EmptyString, this.ContextId.ToString()); 738dicWriter.WriteStartElement(dictionary.Key, dictionary.EmptyString); 747XmlUtil.WriteElementStringAsUniqueId(dicWriter, dictionary.KeyGeneration, dictionary.EmptyString, this.KeyGeneration.ToString()); 753XmlUtil.WriteElementContentAsInt64(dicWriter, dictionary.EffectiveTime, dictionary.EmptyString, this.ValidFrom.ToUniversalTime().Ticks); 754XmlUtil.WriteElementContentAsInt64(dicWriter, dictionary.ExpiryTime, dictionary.EmptyString, this.ValidTo.ToUniversalTime().Ticks); 755XmlUtil.WriteElementContentAsInt64(dicWriter, dictionary.KeyEffectiveTime, dictionary.EmptyString, this.KeyEffectiveTime.ToUniversalTime().Ticks); 756XmlUtil.WriteElementContentAsInt64(dicWriter, dictionary.KeyExpiryTime, dictionary.EmptyString, this.KeyExpirationTime.ToUniversalTime().Ticks); 768dicWriter.WriteStartElement(dictionary.SctAuthorizationPolicy, dictionary.EmptyString); 774dicWriter.WriteElementString(dictionary.EndpointId, dictionary.EmptyString, this.EndpointId); 809if (dictionaryReader.IsStartElement(dictionary.ClaimsPrincipal, dictionary.EmptyString)) 878if (dictionaryReader.IsStartElement(dictionary.Identities, dictionary.EmptyString)) 882while (dictionaryReader.IsStartElement(dictionary.Identity, dictionary.EmptyString)) 915if (!dictionaryReader.IsStartElement(dictionary.Identity, dictionary.EmptyString)) 921string nameClaimType = dictionaryReader.GetAttribute(dictionary.NameClaimType, dictionary.EmptyString); 924string roleClaimType = dictionaryReader.GetAttribute(dictionary.RoleClaimType, dictionary.EmptyString); 927string logonName = dictionaryReader.GetAttribute(dictionary.WindowsLogonName, dictionary.EmptyString); 928string authenticationType = dictionaryReader.GetAttribute(dictionary.AuthenticationType, dictionary.EmptyString); 945identity.Label = dictionaryReader.GetAttribute(dictionary.Label, dictionary.EmptyString); 951if (dictionaryReader.IsStartElement(dictionary.ClaimCollection, dictionary.EmptyString)) 963if (dictionaryReader.IsStartElement(dictionary.Actor, dictionary.EmptyString)) 972if (dictionaryReader.IsStartElement(dictionary.BootstrapToken, dictionary.EmptyString)) 1107while (dictionaryReader.IsStartElement(dictionary.Claim, dictionary.EmptyString)) 1111Claim claim = new Claim(dictionaryReader.GetAttribute(dictionary.Type, dictionary.EmptyString), 1112dictionaryReader.GetAttribute(dictionary.Value, dictionary.EmptyString), 1113dictionaryReader.GetAttribute(dictionary.ValueType, dictionary.EmptyString), 1114dictionaryReader.GetAttribute(dictionary.Issuer, dictionary.EmptyString), 1115dictionaryReader.GetAttribute(dictionary.OriginalIssuer, dictionary.EmptyString)); 1120if (dictionaryReader.IsStartElement(dictionary.ClaimProperties, dictionary.EmptyString)) 1161while (dictionaryReader.IsStartElement(dictionary.ClaimProperty, dictionary.EmptyString)) 1165string name = dictionaryReader.GetAttribute(dictionary.ClaimPropertyName, dictionary.EmptyString); 1166string value = dictionaryReader.GetAttribute(dictionary.ClaimPropertyValue, dictionary.EmptyString); 1212dictionaryWriter.WriteStartElement(dictionary.ClaimsPrincipal, dictionary.EmptyString); 1247dictionaryWriter.WriteStartElement(dictionary.Identities, dictionary.EmptyString); 1286dictionaryWriter.WriteStartElement(dictionary.Identity, dictionary.EmptyString); 1292dictionaryWriter.WriteAttributeString(dictionary.WindowsLogonName, dictionary.EmptyString, wci.Name); 1298dictionaryWriter.WriteAttributeString(dictionary.AuthenticationType, dictionary.EmptyString, identity.AuthenticationType); 1304dictionaryWriter.WriteAttributeString(dictionary.Label, dictionary.EmptyString, identity.Label); 1310dictionaryWriter.WriteAttributeString(dictionary.NameClaimType, dictionary.EmptyString, identity.NameClaimType); 1316dictionaryWriter.WriteAttributeString(dictionary.RoleClaimType, dictionary.EmptyString, identity.RoleClaimType); 1322dictionaryWriter.WriteStartElement(dictionary.ClaimCollection, dictionary.EmptyString); 1351dictionaryWriter.WriteStartElement(dictionary.Actor, dictionary.EmptyString); 1360dictionaryWriter.WriteStartElement(dictionary.BootstrapToken, dictionary.EmptyString); 1422dictionaryWriter.WriteStartElement(dictionary.Claim, dictionary.EmptyString); 1427dictionaryWriter.WriteAttributeString(dictionary.Issuer, dictionary.EmptyString, claim.Issuer); 1433dictionaryWriter.WriteAttributeString(dictionary.OriginalIssuer, dictionary.EmptyString, claim.OriginalIssuer); 1437dictionaryWriter.WriteAttributeString(dictionary.Type, dictionary.EmptyString, claim.Type); 1440dictionaryWriter.WriteAttributeString(dictionary.Value, dictionary.EmptyString, claim.Value); 1443dictionaryWriter.WriteAttributeString(dictionary.ValueType, dictionary.EmptyString, claim.ValueType); 1481dictionaryWriter.WriteStartElement(dictionary.ClaimProperties, dictionary.EmptyString); 1488dictionaryWriter.WriteStartElement(dictionary.ClaimProperty, dictionary.EmptyString); 1491dictionaryWriter.WriteAttributeString(dictionary.ClaimPropertyName, dictionary.EmptyString, property.Key); 1494dictionaryWriter.WriteAttributeString(dictionary.ClaimPropertyValue, dictionary.EmptyString, property.Value); 1516writer.WriteElementString(dictionary.NullValue, dictionary.EmptyString, string.Empty); 1521writer.WriteStartElement(dictionary.WindowsSidClaim, dictionary.EmptyString); 1529writer.WriteStartElement(dictionary.DenyOnlySidClaim, dictionary.EmptyString); 1537writer.WriteStartElement(dictionary.X500DistinguishedNameClaim, dictionary.EmptyString); 1546writer.WriteStartElement(dictionary.X509ThumbprintClaim, dictionary.EmptyString); 1555writer.WriteStartElement(dictionary.NameClaim, dictionary.EmptyString); 1563writer.WriteStartElement(dictionary.DnsClaim, dictionary.EmptyString); 1571writer.WriteStartElement(dictionary.RsaClaim, dictionary.EmptyString); 1579writer.WriteStartElement(dictionary.MailAddressClaim, dictionary.EmptyString); 1587writer.WriteElementString(dictionary.SystemClaim, dictionary.EmptyString, string.Empty); 1592writer.WriteStartElement(dictionary.HashClaim, dictionary.EmptyString); 1601writer.WriteStartElement(dictionary.SpnClaim, dictionary.EmptyString); 1609writer.WriteStartElement(dictionary.UpnClaim, dictionary.EmptyString); 1617writer.WriteStartElement(dictionary.UrlClaim, dictionary.EmptyString); 1638if (reader.IsStartElement(dictionary.NullValue, dictionary.EmptyString)) 1643else if (reader.IsStartElement(dictionary.WindowsSidClaim, dictionary.EmptyString)) 1651else if (reader.IsStartElement(dictionary.DenyOnlySidClaim, dictionary.EmptyString)) 1659else if (reader.IsStartElement(dictionary.X500DistinguishedNameClaim, dictionary.EmptyString)) 1667else if (reader.IsStartElement(dictionary.X509ThumbprintClaim, dictionary.EmptyString)) 1675else if (reader.IsStartElement(dictionary.NameClaim, dictionary.EmptyString)) 1683else if (reader.IsStartElement(dictionary.DnsClaim, dictionary.EmptyString)) 1691else if (reader.IsStartElement(dictionary.RsaClaim, dictionary.EmptyString)) 1702else if (reader.IsStartElement(dictionary.MailAddressClaim, dictionary.EmptyString)) 1710else if (reader.IsStartElement(dictionary.SystemClaim, dictionary.EmptyString)) 1715else if (reader.IsStartElement(dictionary.HashClaim, dictionary.EmptyString)) 1723else if (reader.IsStartElement(dictionary.SpnClaim, dictionary.EmptyString)) 1731else if (reader.IsStartElement(dictionary.UpnClaim, dictionary.EmptyString)) 1739else if (reader.IsStartElement(dictionary.UrlClaim, dictionary.EmptyString)) 1762string right = reader.GetAttribute(dictionary.Right, dictionary.EmptyString); 1770writer.WriteAttributeString(dictionary.Right, dictionary.EmptyString, claim.Right);