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