Table of Contents

Class BaseID

Namespace
ComponentSpace.Saml2.Assertions
Assembly
ComponentSpace.Saml2.dll

Represents a base identifier.

public class BaseID : BaseIDAbstractType
Inheritance
BaseID
Inherited Members

Remarks

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

Constructors

BaseID()

Initializes a new instance of the BaseID class.

public BaseID()

BaseID(XmlElement)

Initializes a new instance of the BaseID class from XML.

public BaseID(XmlElement xmlElement)

Parameters

xmlElement XmlElement

The base identifier XML.

Exceptions

SamlSerializationException

Thrown when the XML deserialization fails.

Methods

IsValid(XmlElement)

Indicates whether the XML is a base identifier.

public static bool IsValid(XmlElement xmlElement)

Parameters

xmlElement XmlElement

The XML to test.

Returns

bool

true if the XML is a base identifier; otherwise false.

ToXml(XmlDocument)

Serializes the base identifier to XML.

public XmlElement ToXml(XmlDocument xmlDocument)

Parameters

xmlDocument XmlDocument

The owning XML document.

Returns

XmlElement

The base identifier as XML.

Exceptions

SamlSerializationException

Thrown when the XML serialization fails.