Class AssertionConsumerService
- Namespace
- ComponentSpace.Saml2.Metadata
- Assembly
- ComponentSpace.Saml2.dll
Represents the asserton consumer service.
public class AssertionConsumerService : IndexedEndpointType
- Inheritance
-
AssertionConsumerService
- Inherited Members
Remarks
Refer to the Metadata for the OASIS Security Assertion Markup Language (SAML) V2.0 specification for further details.
Constructors
AssertionConsumerService()
Initializes a new instance of the AssertionConsumerService class.
public AssertionConsumerService()
AssertionConsumerService(XmlElement)
Initializes a new instance of the AssertionConsumerService class from XML.
public AssertionConsumerService(XmlElement xmlElement)
Parameters
xmlElementXmlElementThe asserton consumer service XML.
Exceptions
- SamlSerializationException
Thrown when the XML deserialization fails.
Methods
IsValid(XmlElement)
Indicates whether the XML is an asserton consumer service.
public static bool IsValid(XmlElement xmlElement)
Parameters
xmlElementXmlElementThe XML to test.
Returns
- bool
trueif the XML is an asserton consumer service; otherwisefalse.
ToXml(XmlDocument)
Serializes the asserton consumer service to XML.
public XmlElement ToXml(XmlDocument xmlDocument)
Parameters
xmlDocumentXmlDocumentThe owning XML document.
Returns
- XmlElement
The asserton consumer service as XML.
Exceptions
- SamlSerializationException
Thrown when the XML serialization fails.