Table of Contents

Class AttributeQuery

Namespace
ComponentSpace.Saml2.Protocols
Assembly
ComponentSpace.Saml2.dll

Represents an attribute query.

public class AttributeQuery : SubjectQueryAbstractType
Inheritance
AttributeQuery
Inherited Members

Remarks

Refer to the Assertions and Protocol for the OASIS Security Assertion Markup Language (SAML) V2.0 specification for further details.

Constructors

AttributeQuery()

Initializes a new instance of the AttributeQuery class.

public AttributeQuery()

AttributeQuery(XmlElement)

Initializes a new instance of the AttributeQuery class from XML.

public AttributeQuery(XmlElement xmlElement)

Parameters

xmlElement XmlElement

The attribute query XML.

Exceptions

SamlSerializationException

Thrown when the XML deserialization fails.

Properties

Attributes

Gets or sets the attributes.

public IList<SamlAttribute> Attributes { get; set; }

Property Value

IList<SamlAttribute>

The attributes.

Methods

IsValid(XmlElement)

Indicates whether the XML is an attribute query.

public static bool IsValid(XmlElement xmlElement)

Parameters

xmlElement XmlElement

The XML to test.

Returns

bool

true if the XML is an attribute query; otherwise false.

ToXml(XmlDocument)

Serializes the attribute query to XML.

public override XmlElement ToXml(XmlDocument xmlDocument)

Parameters

xmlDocument XmlDocument

The owning XML document.

Returns

XmlElement

The attribute query as XML.

Exceptions

SamlSerializationException

Thrown when the XML serialization fails.