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