Class AuthzDecisionQuery
- Namespace
- ComponentSpace.Saml2.Protocols
- Assembly
- ComponentSpace.Saml2.dll
Represents an authorization decision query.
public class AuthzDecisionQuery : SubjectQueryAbstractType
- Inheritance
-
AuthzDecisionQuery
- Inherited Members
Remarks
Refer to the Assertions and Protocol for the OASIS Security Assertion Markup Language (SAML) V2.0 specification for further details.
Constructors
AuthzDecisionQuery()
Initializes a new instance of the AuthzDecisionQuery class.
public AuthzDecisionQuery()
AuthzDecisionQuery(XmlElement)
Initializes a new instance of the AuthzDecisionQuery class from XML.
public AuthzDecisionQuery(XmlElement xmlElement)
Parameters
xmlElementXmlElementThe authorization decision query XML.
Exceptions
- SamlSerializationException
Thrown when the XML deserialization fails.
Properties
Actions
Gets or sets the actions.
public IList<Action> Actions { get; set; }
Property Value
Evidence
Gets or sets the evidence.
public Evidence Evidence { get; set; }
Property Value
- Evidence
The evidence.
Resource
Gets or sets the resource.
public string Resource { get; set; }
Property Value
- string
The resource.
Methods
IsValid(XmlElement)
Indicates whether the XML is an authorization decision query.
public static bool IsValid(XmlElement xmlElement)
Parameters
xmlElementXmlElementThe XML to test.
Returns
- bool
trueif the XML is an authorization decision query; otherwisefalse.
ToXml(XmlDocument)
Serializes the authorization decision query to XML.
public override XmlElement ToXml(XmlDocument xmlDocument)
Parameters
xmlDocumentXmlDocumentThe owning XML document.
Returns
- XmlElement
The authorization decision query as XML.
Exceptions
- SamlSerializationException
Thrown when the XML serialization fails.