Class AttributeAuthorityDescriptor
Represents an attribute authority descriptor.
Inherited Members
Namespace: ComponentSpace.SAML2.Metadata
Assembly: ComponentSpace.Saml2.dll
Syntax
public class AttributeAuthorityDescriptor : RoleDescriptorType
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.
Declaration
public AttributeAuthorityDescriptor()
AttributeAuthorityDescriptor(XmlElement)
Initializes a new instance of the AttributeAuthorityDescriptor
class from XML.
Declaration
public AttributeAuthorityDescriptor(XmlElement xmlElement)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlElement | xmlElement | The attribute authority descriptor XML. |
Exceptions
Type | Condition |
---|---|
SAMLSerializationException | Thrown when the XML deserialization fails. |
Properties
AssertionIDRequestServices
Gets or sets the list of assertion ID request services.
Declaration
public IList<EndpointType> AssertionIDRequestServices { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<EndpointType> | The list of assertion ID request services. |
AttributeProfiles
Gets or sets the list of attribute profiles.
Declaration
public IList<string> AttributeProfiles { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<System.String> | The list of attribute profiles. |
Attributes
Gets or sets the list of attributes.
Declaration
public IList<SAMLAttribute> Attributes { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<SAMLAttribute> | The list of attributes. |
AttributeServices
Gets or sets the list of attribute services.
Declaration
public IList<EndpointType> AttributeServices { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<EndpointType> | The list of attribute services. |
NameIDFormats
Gets or sets the list of name ID formats.
Declaration
public IList<string> NameIDFormats { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<System.String> | The list of name ID formats. |
Methods
IsValid(XmlElement)
Indicates whether the XML is an attribute authority descriptor.
Declaration
public static bool IsValid(XmlElement xmlElement)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlElement | xmlElement | The XML to test. |
Returns
Type | Description |
---|---|
System.Boolean |
|
ToXml(XmlDocument)
Serializes the attribute authority descriptor to XML.
Declaration
public XmlElement ToXml(XmlDocument xmlDocument)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlDocument | xmlDocument | The owning XML document. |
Returns
Type | Description |
---|---|
System.Xml.XmlElement | The attribute authority descriptor as XML. |
Exceptions
Type | Condition |
---|---|
SAMLSerializationException | Thrown when the XML serialization fails. |