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