Table of Contents

Class SingleLogoutService

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

Represents the single logout service.

public class SingleLogoutService : EndpointType
Inheritance
SingleLogoutService
Inherited Members

Remarks

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

Constructors

SingleLogoutService()

Initializes a new instance of the SingleLogoutService class.

public SingleLogoutService()

SingleLogoutService(XmlElement)

Initializes a new instance of the SingleLogoutService class from XML.

public SingleLogoutService(XmlElement xmlElement)

Parameters

xmlElement XmlElement

The single logout service XML.

Exceptions

SamlSerializationException

Thrown when the XML deserialization fails.

Methods

IsValid(XmlElement)

Indicates whether the XML is a single logout service.

public static bool IsValid(XmlElement xmlElement)

Parameters

xmlElement XmlElement

The XML to test.

Returns

bool

true if the XML is a single logout service; otherwise false.

ToXml(XmlDocument)

Serializes the single logout service to XML.

public XmlElement ToXml(XmlDocument xmlDocument)

Parameters

xmlDocument XmlDocument

The owning XML document.

Returns

XmlElement

The single logout service as XML.

Exceptions

SamlSerializationException

Thrown when the XML serialization fails.