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
xmlElementXmlElementThe 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
xmlElementXmlElementThe XML to test.
Returns
- bool
trueif the XML is a single logout service; otherwisefalse.
ToXml(XmlDocument)
Serializes the single logout service to XML.
public XmlElement ToXml(XmlDocument xmlDocument)
Parameters
xmlDocumentXmlDocumentThe owning XML document.
Returns
- XmlElement
The single logout service as XML.
Exceptions
- SamlSerializationException
Thrown when the XML serialization fails.