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