Table of Contents

Class AssertionIDRef

Namespace
ComponentSpace.Saml2.Assertions
Assembly
ComponentSpace.Saml2.dll

Represents an assertion ID reference.

public class AssertionIDRef
Inheritance
AssertionIDRef
Inherited Members

Remarks

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

Constructors

AssertionIDRef()

Initializes a new instance of the AssertionIDRef class.

public AssertionIDRef()

AssertionIDRef(XmlElement)

Initializes a new instance of the AssertionIDRef class from XML.

public AssertionIDRef(XmlElement xmlElement)

Parameters

xmlElement XmlElement

The AssertionIDRef XML.

Exceptions

SamlSerializationException

Thrown when the XML deserialization fails.

Properties

Reference

Gets or sets the reference.

public string Reference { get; set; }

Property Value

string

The reference.

Methods

IsValid(XmlElement)

Indicates whether the XML is an assertion ID reference.

public static bool IsValid(XmlElement xmlElement)

Parameters

xmlElement XmlElement

The XML to test.

Returns

bool

true if the XML is an assertion ID reference; otherwise false.

ToXml(XmlDocument)

Serializes the assertion ID reference to XML.

public XmlElement ToXml(XmlDocument xmlDocument)

Parameters

xmlDocument XmlDocument

The owning XML document.

Returns

XmlElement

The assertion ID reference as XML.

Exceptions

SamlSerializationException

Thrown when the XML serialization fails.