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