Saml2AuthorizationDecisionStatement Class

.NET Framework (current version)
 

Represents the <saml:AuthzDecisionStatement> element defined by SAML 2.0.

Namespace:   System.IdentityModel.Tokens
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

System.Object
  System.IdentityModel.Tokens.Saml2Statement
    System.IdentityModel.Tokens.Saml2AuthorizationDecisionStatement

public class Saml2AuthorizationDecisionStatement : Saml2Statement

NameDescription
System_CAPS_pubmethodSaml2AuthorizationDecisionStatement(Uri, SamlAccessDecision)

Initializes a new instance of the Saml2AuthorizationDecisionStatement class with the specified decision for the specified resource.

System_CAPS_pubmethodSaml2AuthorizationDecisionStatement(Uri, SamlAccessDecision, IEnumerable<Saml2Action>)

Initializes a new instance of the Saml2AuthorizationDecisionStatement class with the specified decision for the specified actions on the specified resource.

NameDescription
System_CAPS_pubpropertyActions

Gets or sets the set of actions authorized to be performed on the specified resource.

System_CAPS_pubpropertyDecision

Gets or sets the decision rendered by the SAML authority with respect to the specified resource.

System_CAPS_pubpropertyEvidence

Gets or sets the set of assertions that the SAML authority relied on in making the decision. [Saml2Core, 2.7.4]

System_CAPS_pubpropertyResource

Gets or sets the URI reference that identifies the resource to which access authorization is sought.

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

NameDescription
System_CAPS_pubfieldSystem_CAPS_staticEmptyResource

Gets an empty URI reference. The reference may be used to set the Resource property. When used, it specifies the start of the current document.

Saml2SecurityToken security tokens specify their claims using SAML assertions, which can specify whether a subject is authorized to access a specific resource. The claims in a SAML assertion are represented by SAML statements. The SAML 2.0 specification defines a set of SAML statement types and one of them is represented by the SamlAuthorizationDecisionStatement class. When specified in a SAML 2.0 assertion in the Saml2Assertion.Statements property, a SamlAuthorizationDecisionStatement asserts an authorization decision regarding access by the subject of the assertion to a specified resource. The subject of the SAML 2.0 assertion is specified by the Saml2Assertion.Subject property. The following table summarizes the properties that are associated with the authorization decision.

Property

Description

Decision

The authorization decision rendered by the SAML authority with respect to the resource represented by the Resource property.

Evidence

A set of SAML assertions that the SAML authority relied on to render the decision.

Resource

A URI reference that identifies the resource to which access is sought.

Actions

The set of actions that the subject is authorized to perform on the resource represented by the Resource property. Each action is represented by an instance of Saml2Action.

For more information about the element that this class represents, see the following specification: Assertions and Protocols for the OASIS Security Assertion Markup Language (SAML) V2.0 (http://go.microsoft.com/fwlink/?LinkID=215998).

.NET Framework
Available since 4.5

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: