Table of Contents

Class AttributeProfile

Namespace
ComponentSpace.Saml2.Metadata
Assembly
ComponentSpace.Saml2.dll

Represents an attribute profile.

public class AttributeProfile
Inheritance
AttributeProfile
Inherited Members

Remarks

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

Constructors

AttributeProfile()

Initializes a new instance of the AttributeProfile class.

public AttributeProfile()

AttributeProfile(XmlElement)

Initializes a new instance of the AttributeProfile class from XML.

public AttributeProfile(XmlElement xmlElement)

Parameters

xmlElement XmlElement

The attribute profile XML.

Exceptions

SamlSerializationException

Thrown when the XML deserialization fails.

Properties

Profile

Gets or sets the attribute profile URI.

public string Profile { get; set; }

Property Value

string

The attribute profile URI.

Methods

IsValid(XmlElement)

Indicates whether the XML is an attribute profile.

public static bool IsValid(XmlElement xmlElement)

Parameters

xmlElement XmlElement

The XML to test.

Returns

bool

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

ToXml(XmlDocument)

Serializes the attribute profile to XML.

public XmlElement ToXml(XmlDocument xmlDocument)

Parameters

xmlDocument XmlDocument

The owning XML document.

Returns

XmlElement

The attribute profile as XML.

Exceptions

SamlSerializationException

Thrown when the XML serialization fails.