Export (0) Print
Expand All

Saml2AuthorizationDecisionStatement Class

.NET Framework 4.5

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

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

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

public class Saml2AuthorizationDecisionStatement : Saml2Statement

The Saml2AuthorizationDecisionStatement type exposes the following members.

  NameDescription
Public methodSaml2AuthorizationDecisionStatement(Uri, SamlAccessDecision)Initializes a new instance of the Saml2AuthorizationDecisionStatement class with the specified decision for the specified resource.
Public methodSaml2AuthorizationDecisionStatement(Uri, SamlAccessDecision, IEnumerable<Saml2Action>)Initializes a new instance of the Saml2AuthorizationDecisionStatement class with the specified decision for the specified actions on the specified resource.
Top

  NameDescription
Public propertyActionsGets or sets the set of actions authorized to be performed on the specified resource.
Public propertyDecisionGets or sets the decision rendered by the SAML authority with respect to the specified resource.
Public propertyEvidenceGets or sets the set of assertions that the SAML authority relied on in making the decision. [Saml2Core, 2.7.4]
Public propertyResourceGets or sets the URI reference that identifies the resource to which access authorization is sought.
Top

  NameDescription
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Public fieldStatic memberEmptyResourceGets an empty URI reference. The reference may be used to set the Resource property. When used, it specifies the start of the current document.
Top

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

Supported in: 4.6, 4.5

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

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