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