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