Table of Contents

Class AuthzDecisionStatement

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

Represents an authorization decision statement.

public class AuthzDecisionStatement : IStatement
Inheritance
AuthzDecisionStatement
Implements
Inherited Members

Remarks

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

Constructors

AuthzDecisionStatement()

Serializes the authorization decision statement to XML.

public AuthzDecisionStatement()

Exceptions

SamlSerializationException

Thrown when the XML serialization fails.

AuthzDecisionStatement(XmlElement)

Initializes a new instance of the AuthzDecisionStatement class from XML.

public AuthzDecisionStatement(XmlElement xmlElement)

Parameters

xmlElement XmlElement

The authorization decision statement XML.

Exceptions

SamlSerializationException

Thrown when the XML deserialization fails.

Properties

Actions

Gets or sets the actions.

public IList<Action> Actions { get; set; }

Property Value

IList<Action>

The actions.

See Also

Decision

Gets or sets the decision.

public string Decision { get; set; }

Property Value

string

The decision.

See Also

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 statement.

public static bool IsValid(XmlElement xmlElement)

Parameters

xmlElement XmlElement

The XML to test.

Returns

bool

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

ToXml(XmlDocument)

Serializes the authorization decision statement to XML.

public XmlElement ToXml(XmlDocument xmlDocument)

Parameters

xmlDocument XmlDocument

The owning XML document.

Returns

XmlElement

The authorization decision statement as XML.

Exceptions

SamlSerializationException

Thrown when the XML serialization fails.