Table of Contents

Class SessionIndex

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

Represents a session index.

public class SessionIndex
Inheritance
SessionIndex
Inherited Members

Remarks

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

Constructors

SessionIndex()

Initializes a new instance of the SessionIndex class.

public SessionIndex()

SessionIndex(string)

Initializes a new instance of the SessionIndex class.

public SessionIndex(string index)

Parameters

index string

The session index.

SessionIndex(XmlElement)

Initializes a new instance of the SessionIndex class from XML.

public SessionIndex(XmlElement xmlElement)

Parameters

xmlElement XmlElement

The session index XML.

Exceptions

SamlSerializationException

Thrown when the XML deserialization fails.

Properties

Index

Gets or sets the session index.

public string Index { get; set; }

Property Value

string

The session index.

Methods

IsValid(XmlElement)

Indicates whether the XML is a session index.

public static bool IsValid(XmlElement xmlElement)

Parameters

xmlElement XmlElement

The XML to test.

Returns

bool

true if the XML is a session index; otherwise false.

ToXml(XmlDocument)

Serializes the session index to XML.

public XmlElement ToXml(XmlDocument xmlDocument)

Parameters

xmlDocument XmlDocument

The owning XML document.

Returns

XmlElement

The session index as XML.

Exceptions

SamlSerializationException

Thrown when the XML serialization fails.