Table of Contents

Class LogoutResponse

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

Represents a logout response.

public class LogoutResponse : StatusResponseType
Inheritance
LogoutResponse
Inherited Members

Remarks

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

Constructors

LogoutResponse()

Initializes a new instance of the LogoutResponse class.

public LogoutResponse()

LogoutResponse(XmlElement)

Initializes a new instance of the LogoutResponse class from XML.

public LogoutResponse(XmlElement xmlElement)

Parameters

xmlElement XmlElement

The logout response XML.

Exceptions

SamlSerializationException

Thrown when the XML deserialization fails.

Methods

IsValid(XmlElement)

Indicates whether the XML is a logout response.

public static bool IsValid(XmlElement xmlElement)

Parameters

xmlElement XmlElement

The XML to test.

Returns

bool

true if the XML is a logout response; otherwise false.

ToXml(XmlDocument)

Serializes the logout response to XML.

public override XmlElement ToXml(XmlDocument xmlDocument)

Parameters

xmlDocument XmlDocument

The owning XML document.

Returns

XmlElement

The logout response as XML.

Exceptions

SamlSerializationException

Thrown when the XML serialization fails.