Table of Contents

Class AssertionUriRef

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

Represents an assertion URI reference.

public class AssertionUriRef
Inheritance
AssertionUriRef
Inherited Members

Remarks

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

Constructors

AssertionUriRef()

Initializes a new instance of the AssertionUriRef class.

public AssertionUriRef()

AssertionUriRef(XmlElement)

Initializes a new instance of the AssertionUriRef class from XML.

public AssertionUriRef(XmlElement xmlElement)

Parameters

xmlElement XmlElement

The AssertionURIRef 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 URI reference.

public static bool IsValid(XmlElement xmlElement)

Parameters

xmlElement XmlElement

The XML to test.

Returns

bool

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

ToXml(XmlDocument)

Serializes the assertion URI reference to XML.

public XmlElement ToXml(XmlDocument xmlDocument)

Parameters

xmlDocument XmlDocument

The owning XML document.

Returns

XmlElement

The assertion URI reference as XML.

Exceptions

SamlSerializationException

Thrown when the XML serialization fails.