3 instantiations of SamlAttribute
System.IdentityModel (3)
System\IdentityModel\Tokens\SamlSecurityTokenHandler.cs (2)
712
SamlAttribute attribute = new
SamlAttribute
(attributeNamespace, attributeName, new string[] { claim.Value });
2600
SamlAttribute attribute = new
SamlAttribute
();
System\IdentityModel\Tokens\SamlSerializer.cs (1)
160
SamlAttribute attribute = new
SamlAttribute
();
43 references to SamlAttribute
System.IdentityModel (43)
System\IdentityModel\Tokens\SamlAttributeKeyComparer.cs (1)
31
public AttributeKey(
SamlAttribute
attribute )
System\IdentityModel\Tokens\SamlAttributeStatement.cs (7)
19
readonly ImmutableCollection<
SamlAttribute
> attributes = new ImmutableCollection<
SamlAttribute
>();
26
public SamlAttributeStatement(SamlSubject samlSubject, IEnumerable<
SamlAttribute
> attributes)
32
foreach (
SamlAttribute
attribute in attributes)
43
public IList<
SamlAttribute
> Attributes
57
foreach (
SamlAttribute
attribute in attributes)
109
SamlAttribute
attribute = samlSerializer.LoadAttribute(reader, keyInfoSerializer, outOfBandTokenResolver);
System\IdentityModel\Tokens\SamlSecurityTokenHandler.cs (33)
434
List<
SamlAttribute
> attributes = new List<
SamlAttribute
>();
457
ICollection<
SamlAttribute
> collectedAttributes = CollectAttributeValues(attributes);
473
protected virtual ICollection<
SamlAttribute
> CollectAttributeValues(ICollection<
SamlAttribute
> attributes)
475
Dictionary<SamlAttributeKeyComparer.AttributeKey,
SamlAttribute
> distinctAttributes = new Dictionary<SamlAttributeKeyComparer.AttributeKey,
SamlAttribute
>(attributes.Count, new SamlAttributeKeyComparer());
477
foreach (
SamlAttribute
attribute in attributes)
479
SamlAttribute
SamlAttribute = attribute as
SamlAttribute
;
510
ICollection<
SamlAttribute
> attributes,
526
List<
SamlAttribute
> actingAsAttributes = new List<
SamlAttribute
>();
539
ICollection<
SamlAttribute
> collectedAttributes = CollectAttributeValues(actingAsAttributes);
624
protected virtual string CreateXmlStringFromAttributes(IEnumerable<
SamlAttribute
> attributes)
632
foreach (
SamlAttribute
samlAttribute in attributes)
663
protected virtual
SamlAttribute
CreateAttribute(Claim claim, SecurityTokenDescriptor tokenDescriptor)
712
SamlAttribute
attribute = new SamlAttribute(attributeNamespace, attributeName, new string[] { claim.Value });
1251
foreach (
SamlAttribute
attr in samlStatement.Attributes)
1297
SamlAttribute
SamlAttribute = attr as
SamlAttribute
;
1430
protected virtual void SetDelegateFromAttribute(
SamlAttribute
attribute, ClaimsIdentity subject, string issuer)
1439
SamlAttribute
actingAsAttribute = null;
1453
SamlAttribute
innerAttribute = ReadAttribute(xmlReader);
1471
SamlAttribute
SamlAttribute = innerAttribute as
SamlAttribute
;
2593
protected virtual
SamlAttribute
ReadAttribute(XmlReader reader)
2600
SamlAttribute
attribute = new SamlAttribute();
2695
protected virtual string ReadAttributeValue(XmlReader reader,
SamlAttribute
attribute)
2763
protected virtual void WriteAttribute(XmlWriter writer,
SamlAttribute
attribute)
2780
SamlAttribute
SamlAttribute = attribute as
SamlAttribute
;
2825
protected virtual void WriteAttributeValue(XmlWriter writer, string value,
SamlAttribute
attribute)
System\IdentityModel\Tokens\SamlSerializer.cs (2)
157
public virtual
SamlAttribute
LoadAttribute(XmlDictionaryReader reader, SecurityTokenSerializer keyInfoSerializer, SecurityTokenResolver outOfBandTokenResolver)
160
SamlAttribute
attribute = new SamlAttribute();