Class NameIDMappingRequest
- Namespace
- ComponentSpace.Saml2.Protocols
- Assembly
- ComponentSpace.Saml2.dll
Represents a name ID mapping request.
public class NameIDMappingRequest : RequestAbstractType
- Inheritance
-
NameIDMappingRequest
- Inherited Members
Remarks
Refer to the Assertions and Protocol for the OASIS Security Assertion Markup Language (SAML) V2.0 specification for further details.
Constructors
NameIDMappingRequest()
Initializes a new instance of the NameIDMappingRequest class.
public NameIDMappingRequest()
NameIDMappingRequest(XmlElement)
Initializes a new instance of the NameIDMappingRequest class from XML.
public NameIDMappingRequest(XmlElement xmlElement)
Parameters
xmlElementXmlElementThe name ID mapping request XML.
Exceptions
- SamlSerializationException
Thrown when the XML deserialization fails.
Properties
BaseID
Gets or sets the base ID.
public BaseID BaseID { get; set; }
Property Value
- BaseID
The base ID.
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.
NameIDPolicy
Gets or sets the name ID policy.
public NameIDPolicy NameIDPolicy { get; set; }
Property Value
- NameIDPolicy
The name ID policy.
Methods
IsValid(XmlElement)
Indicates whether the XML is an artifact resolve request.
public static bool IsValid(XmlElement xmlElement)
Parameters
xmlElementXmlElementThe XML to test.
Returns
- bool
trueif the XML is an artifact resolve request; otherwisefalse.
ToXml(XmlDocument)
Serializes the name ID mapping request to XML.
public override XmlElement ToXml(XmlDocument xmlDocument)
Parameters
xmlDocumentXmlDocumentThe owning XML document.
Returns
- XmlElement
The name ID mapping request as XML.
Exceptions
- SamlSerializationException
Thrown when the XML serialization fails.