Table of Contents

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

xmlElement XmlElement

The 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

xmlElement XmlElement

The XML to test.

Returns

bool

true if the XML is an IdP entry; otherwise false.

ToXml(XmlDocument)

Serializes the IdP entry to XML.

public XmlElement ToXml(XmlDocument xmlDocument)

Parameters

xmlDocument XmlDocument

The owning XML document.

Returns

XmlElement

The IdP entry as XML.

Exceptions

SamlSerializationException

Thrown when the XML serialization fails.