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