Show / Hide Table of Contents

Class AuthzDecisionStatement

Represents an authorization decision statement.

Inheritance
System.Object
AuthzDecisionStatement
Implements
IStatement
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: ComponentSpace.SAML2.Assertions
Assembly: ComponentSpace.Saml2.dll
Syntax
public class AuthzDecisionStatement : IStatement
Remarks

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

Constructors

AuthzDecisionStatement()

Initializes a new instance of the AuthzDecisionStatement class.

Declaration
public AuthzDecisionStatement()

AuthzDecisionStatement(XmlElement)

Initializes a new instance of the AuthzDecisionStatement class from XML.

Declaration
public AuthzDecisionStatement(XmlElement xmlElement)
Parameters
Type Name Description
System.Xml.XmlElement xmlElement

The authorization decision statement 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
System.Collections.Generic.IList<Action>

The actions.

See Also
Action

Decision

Gets or sets the decision.

Declaration
public string Decision { get; set; }
Property Value
Type Description
System.String

The decision.

See Also
SAMLIdentifiers.AuthzDecision

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
System.String

The resource.

Methods

IsValid(XmlElement)

Indicates whether the XML is an authorization decision statement.

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

The XML to test.

Returns
Type Description
System.Boolean

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

ToXml(XmlDocument)

Serializes the authorization decision statement to XML.

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

The owning XML document.

Returns
Type Description
System.Xml.XmlElement

The authorization decision statement as XML.

Exceptions
Type Condition
SAMLSerializationException

Thrown when the XML serialization fails.

Implements

IStatement
In This Article
Back to top Copyright © ComponentSpace Pty Ltd 2004-2022. All rights reserved.