Class AttributeAuthorityDescriptor
- Namespace
- ComponentSpace.Saml2.Metadata
- Assembly
- ComponentSpace.Saml2.dll
Represents an attribute authority descriptor.
public class AttributeAuthorityDescriptor : RoleDescriptorType
- Inheritance
-
AttributeAuthorityDescriptor
- Inherited Members
Remarks
Refer to the Metadata for the OASIS Security Assertion Markup Language (SAML) V2.0 specification for further details.
Constructors
AttributeAuthorityDescriptor()
Initializes a new instance of the AttributeAuthorityDescriptor class.
public AttributeAuthorityDescriptor()
AttributeAuthorityDescriptor(XmlElement)
Initializes a new instance of the AttributeAuthorityDescriptor class from XML.
public AttributeAuthorityDescriptor(XmlElement xmlElement)
Parameters
xmlElementXmlElementThe attribute authority descriptor XML.
Exceptions
- SamlSerializationException
Thrown when the XML deserialization fails.
Properties
AssertionIDRequestServices
Gets or sets the list of assertion ID request services.
public IList<AssertionIDRequestService> AssertionIDRequestServices { get; set; }
Property Value
- IList<AssertionIDRequestService>
The list of assertion ID request services.
AttributeProfiles
Gets or sets the list of attribute profiles.
public IList<AttributeProfile> AttributeProfiles { get; set; }
Property Value
- IList<AttributeProfile>
The list of attribute profiles.
AttributeServices
Gets or sets the list of attribute services.
public IList<AttributeService> AttributeServices { get; set; }
Property Value
- IList<AttributeService>
The list of attribute services.
Attributes
Gets or sets the list of attributes.
public IList<SamlAttribute> Attributes { get; set; }
Property Value
- IList<SamlAttribute>
The list of attributes.
NameIDFormats
Gets or sets the list of name ID formats.
public IList<NameIDFormat> NameIDFormats { get; set; }
Property Value
- IList<NameIDFormat>
The list of name ID formats.
Methods
IsValid(XmlElement)
Indicates whether the XML is an attribute authority descriptor.
public static bool IsValid(XmlElement xmlElement)
Parameters
xmlElementXmlElementThe XML to test.
Returns
- bool
trueif the XML is an attribute authority descriptor; otherwisefalse.
ToXml(XmlDocument)
Serializes the attribute authority descriptor to XML.
public XmlElement ToXml(XmlDocument xmlDocument)
Parameters
xmlDocumentXmlDocumentThe owning XML document.
Returns
- XmlElement
The attribute authority descriptor as XML.
Exceptions
- SamlSerializationException
Thrown when the XML serialization fails.