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