Table of Contents

Class AdditionalMetadataLocation

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

Represents an additional metadata location.

public class AdditionalMetadataLocation
Inheritance
AdditionalMetadataLocation
Inherited Members

Remarks

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

Constructors

AdditionalMetadataLocation()

Initializes a new instance of the AdditionalMetadataLocation class.

public AdditionalMetadataLocation()

AdditionalMetadataLocation(XmlElement)

Initializes a new instance of the AdditionalMetadataLocation class from XML.

public AdditionalMetadataLocation(XmlElement xmlElement)

Parameters

xmlElement XmlElement

The additional metadata location XML.

Exceptions

SamlSerializationException

Thrown when the XML deserialization fails.

Properties

Uri

Gets or sets the URI.

public string Uri { get; set; }

Property Value

string

The URI.

XmlNamespace

Gets or sets the XML namespace.

public string XmlNamespace { get; set; }

Property Value

string

The XML namespace.

Methods

IsValid(XmlElement)

Indicates whether the XML is an additional metadata location.

public static bool IsValid(XmlElement xmlElement)

Parameters

xmlElement XmlElement

The XML to test.

Returns

bool

true if the XML is an organization; otherwise false.

ToXml(XmlDocument)

Serializes the additional metadata location to XML.

public XmlElement ToXml(XmlDocument xmlDocument)

Parameters

xmlDocument XmlDocument

The owning XML document.

Returns

XmlElement

The additional metadata location as XML.

Exceptions

SamlSerializationException

Thrown when the XML serialization fails.