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
xmlElementXmlElementThe 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
xmlElementXmlElementThe XML to test.
Returns
- bool
trueif the XML is an action; otherwisefalse.
ToXml(XmlDocument)
Serializes the action to XML.
public XmlElement ToXml(XmlDocument xmlDocument)
Parameters
xmlDocumentXmlDocumentThe owning XML document.
Returns
- XmlElement
The action as XML.
Exceptions
- SamlSerializationException
Thrown when the XML serialization fails.