This documentation is archived and is not being maintained.

SamlAuthorizationDecisionClaimResource Class

Represents a claim for a SamlSecurityToken security token that asserts an authorization decision regarding access to a specific resource.


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

public class SamlAuthorizationDecisionClaimResource

The SamlAuthorizationDecisionClaimResource type exposes the following members.

Public methodSamlAuthorizationDecisionClaimResourceInitializes a new instance of the SamlAuthorizationDecisionClaimResource class using the specified resource the subject is seeking access to, the authorization decision regarding the resource, the action sought on the resource, and the XML namespace in which the action is defined.

Public propertyAccessDecisionGets the authorization decision rendered by the SAML authority regarding the access to the resource by the subject.
Public propertyActionNameGets the action sought by the subject on the resource specified in the Resource property.
Public propertyActionNamespaceGets the XML namespace in which the action specified in the ActionName property is defined.
Public propertyResourceGets the resource the subject is seeking access to.

Public methodEqualsReturns a value that indicates whether the instance is equal to the specified object. (Overrides Object.Equals(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 methodGetHashCodeReturns the hash code for the SamlAuthorizationDecisionClaimResource. (Overrides Object.GetHashCode().)
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.)

SamlSecurityToken security tokens specify their claims using SAML assertions. The claims in a SAML assertion are represented by SAML statements. The SAML specification defines a set of SAML statement types and one of them is a SamlAuthorizationDecisionStatement. A SamlAuthorizationDecisionStatement asserts an authorization decision by a SAML authority regarding access to a specific resource. The SamlAuthorizationDecisionClaimResource class represents a claim resource for the SamlAuthorizationDecisionStatement.

.NET Framework

Supported in: 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

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.