Table of Contents

Class Action

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

Specifies an action on the specified resource for which permission is sought.

public class Action
Inheritance
Action
Inherited Members

Constructors

Action()

Initializes a new instance of the Action class.

public Action()

Action(XmlElement)

Initializes a new instance of the Action class from XML.

public Action(XmlElement xmlElement)

Parameters

xmlElement XmlElement

The action XML.

Exceptions

SamlSerializationException

Thrown when the XML deserialization fails.

Properties

ActionNamespace

Gets or sets the action namespace.

public string ActionNamespace { get; set; }

Property Value

string

The action namespace.

See Also

ActionValue

Gets or sets the action value.

public string ActionValue { get; set; }

Property Value

string

The action value.

See Also

Methods

IsValid(XmlElement)

Indicates whether the XML is an action.

public static bool IsValid(XmlElement xmlElement)

Parameters

xmlElement XmlElement

The XML to test.

Returns

bool

true if the XML is an action; otherwise false.

ToXml(XmlDocument)

Serializes the action to XML.

public XmlElement ToXml(XmlDocument xmlDocument)

Parameters

xmlDocument XmlDocument

The owning XML document.

Returns

XmlElement

The action as XML.

Exceptions

SamlSerializationException

Thrown when the XML serialization fails.