Class Organization
- Namespace
- ComponentSpace.Saml2.Metadata
- Assembly
- ComponentSpace.Saml2.dll
Represents an organization.
public class Organization
- Inheritance
-
Organization
- Inherited Members
Remarks
Refer to the Metadata for the OASIS Security Assertion Markup Language (SAML) V2.0 specification for further details.
Constructors
Organization()
Initializes a new instance of the Organization class.
public Organization()
Organization(XmlElement)
Initializes a new instance of the Organization class from XML.
public Organization(XmlElement xmlElement)
Parameters
xmlElementXmlElementThe organization XML.
Exceptions
- SamlSerializationException
Thrown when the XML deserialization fails.
Properties
Extensions
Gets or sets the extensions.
public Extensions Extensions { get; set; }
Property Value
- Extensions
The extensions.
OrganizationDisplayNames
Gets or sets the list of organization display names.
public IList<OrganizationDisplayName> OrganizationDisplayNames { get; set; }
Property Value
- IList<OrganizationDisplayName>
The list of organization display names.
OrganizationNames
Gets or sets the list of organization names.
public IList<OrganizationName> OrganizationNames { get; set; }
Property Value
- IList<OrganizationName>
The list of organization names.
OrganizationUrls
Gets or sets the list of organization URLs.
public IList<OrganizationUrl> OrganizationUrls { get; set; }
Property Value
- IList<OrganizationUrl>
The list of organization URLs.
Methods
IsValid(XmlElement)
Indicates whether the XML is an organization.
public static bool IsValid(XmlElement xmlElement)
Parameters
xmlElementXmlElementThe XML to test.
Returns
- bool
trueif the XML is an organization; otherwisefalse.
ToXml(XmlDocument)
Serializes the organization to XML.
public XmlElement ToXml(XmlDocument xmlDocument)
Parameters
xmlDocumentXmlDocumentThe owning XML document.
Returns
- XmlElement
The organization as XML.
Exceptions
- SamlSerializationException
Thrown when the XML serialization fails.