Class PdpDescriptor
- Namespace
- ComponentSpace.Saml2.Metadata
- Assembly
- ComponentSpace.Saml2.dll
Represents a PDP descriptor.
public class PdpDescriptor : RoleDescriptorType
- Inheritance
-
PdpDescriptor
- Inherited Members
Remarks
Refer to the Metadata for the OASIS Security Assertion Markup Language (SAML) V2.0 specification for further details.
Constructors
PdpDescriptor()
Initializes a new instance of the PDPDescriptor class.
public PdpDescriptor()
PdpDescriptor(XmlElement)
Initializes a new instance of the PDPDescriptor class from XML.
public PdpDescriptor(XmlElement xmlElement)
Parameters
xmlElementXmlElementThe PDP 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.
AuthzServices
Gets or sets the list of authorization services.
public IList<AuthzService> AuthzServices { get; set; }
Property Value
- IList<AuthzService>
The list of authorization query services.
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 a PDP descriptor.
public static bool IsValid(XmlElement xmlElement)
Parameters
xmlElementXmlElementThe XML to test.
Returns
- bool
trueif the XML is a PDP descriptor; otherwisefalse.
ToXml(XmlDocument)
Serializes the PDP descriptor to XML.
public XmlElement ToXml(XmlDocument xmlDocument)
Parameters
xmlDocumentXmlDocumentThe owning XML document.
Returns
- XmlElement
The PDP descriptor as XML.
Exceptions
- SamlSerializationException
Thrown when the XML serialization fails.