Table of Contents

Class RequesterID

Namespace
ComponentSpace.Saml2.Protocols
Assembly
ComponentSpace.Saml2.dll

Represents a requester ID.

public class RequesterID
Inheritance
RequesterID
Inherited Members

Remarks

Refer to the Assertions and Protocol for the OASIS Security Assertion Markup Language (SAML) V2.0 specification for further details.

Constructors

RequesterID()

Initializes a new instance of the RequesterID class.

public RequesterID()

RequesterID(string)

Initializes a new instance of the RequesterID class.

public RequesterID(string id)

Parameters

id string

The requester ID.

RequesterID(XmlElement)

Initializes a new instance of the RequesterID class from XML.

public RequesterID(XmlElement xmlElement)

Parameters

xmlElement XmlElement

The requester ID XML.

Exceptions

SamlSerializationException

Thrown when the XML deserialization fails.

Properties

ID

Gets or sets the ID.

public string ID { get; set; }

Property Value

string

The ID.

Methods

IsValid(XmlElement)

Indicates whether the XML is a requester ID.

public static bool IsValid(XmlElement xmlElement)

Parameters

xmlElement XmlElement

The XML to test.

Returns

bool

true if the XML is a requester ID; otherwise false.

ToXml(XmlDocument)

Serializes the requester ID to XML.

public XmlElement ToXml(XmlDocument xmlDocument)

Parameters

xmlDocument XmlDocument

The owning XML document.

Returns

XmlElement

The requester ID as XML.

Exceptions

SamlSerializationException

Thrown when the XML serialization fails.