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