Show / Hide Table of Contents

Class AuthzDecisionQuery

Represents an authorization decision query.

Inheritance
object
RequestAbstractType
SubjectQueryAbstractType
AuthzDecisionQuery
Inherited Members
SubjectQueryAbstractType.Subject
SubjectQueryAbstractType.ToXml(XmlElement)
RequestAbstractType.GetIssuer(XmlElement)
RequestAbstractType.GetIssuerName(XmlElement)
RequestAbstractType.ID
RequestAbstractType.Version
RequestAbstractType.IssueInstant
RequestAbstractType.Destination
RequestAbstractType.Consent
RequestAbstractType.Issuer
RequestAbstractType.Signature
RequestAbstractType.Extensions
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: ComponentSpace.SAML2.Protocols
Assembly: ComponentSpace.Saml2.dll
Syntax
public class AuthzDecisionQuery : SubjectQueryAbstractType
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.

Declaration
public AuthzDecisionQuery()

AuthzDecisionQuery(XmlElement)

Initializes a new instance of the AuthzDecisionQuery class from XML.

Declaration
public AuthzDecisionQuery(XmlElement xmlElement)
Parameters
Type Name Description
XmlElement xmlElement

The authorization decision query XML.

Exceptions
Type Condition
SAMLSerializationException

Thrown when the XML deserialization fails.

Properties

Actions

Gets or sets the actions.

Declaration
public IList<Action> Actions { get; set; }
Property Value
Type Description
IList<Action>

The actions.

Evidence

Gets or sets the evidence.

Declaration
public Evidence Evidence { get; set; }
Property Value
Type Description
Evidence

The evidence.

Resource

Gets or sets the resource.

Declaration
public string Resource { get; set; }
Property Value
Type Description
string

The resource.

Methods

IsValid(XmlElement)

Indicates whether the XML is an authorization decision query.

Declaration
public static bool IsValid(XmlElement xmlElement)
Parameters
Type Name Description
XmlElement xmlElement

The XML to test.

Returns
Type Description
bool

true if the XML is an authorization decision query; otherwise false.

ToString()

Converts the authorization decision query to a string.

Declaration
public override string ToString()
Returns
Type Description
string

The authorization decision query as a string.

Overrides
object.ToString()

ToXml()

Serializes the authorization decision query to XML.

Declaration
public XmlElement ToXml()
Returns
Type Description
XmlElement

The authorization decision query as XML.

Remarks

An XML document is created.

Exceptions
Type Condition
SAMLSerializationException

Thrown when the XML serialization fails.

ToXml(XmlDocument)

Serializes the authorization decision query to XML.

Declaration
public XmlElement ToXml(XmlDocument xmlDocument)
Parameters
Type Name Description
XmlDocument xmlDocument

The owning XML document.

Returns
Type Description
XmlElement

The authorization decision query as XML.

Exceptions
Type Condition
SAMLSerializationException

Thrown when the XML serialization fails.

In this article
Back to top Copyright © ComponentSpace Pty Ltd 2004-2025. All rights reserved.