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