Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

SamlAuthorizationDecisionStatement Class

Represents a claim for a SamlSecurityToken security token that asserts that an authorization decision regarding access by the subject to the specified resource has been made.

System.Object
  System.IdentityModel.Tokens.SamlStatement
    System.IdentityModel.Tokens.SamlSubjectStatement
      System.IdentityModel.Tokens.SamlAuthorizationDecisionStatement

Namespace:  System.IdentityModel.Tokens
Assembly:  System.IdentityModel (in System.IdentityModel.dll)
'Declaration
Public Class SamlAuthorizationDecisionStatement _
	Inherits SamlSubjectStatement

The SamlAuthorizationDecisionStatement type exposes the following members.

  NameDescription
Public methodSamlAuthorizationDecisionStatementInitializes a new instance of the SamlAuthorizationDecisionStatement class.
Public methodSamlAuthorizationDecisionStatement(SamlSubject, String, SamlAccessDecision, IEnumerable(Of SamlAction))Initializes a new instance of the SamlAuthorizationDecisionStatement class. using the specified subject, resource, authorization decision, and the actions sought by the subject on the resource.
Public methodSamlAuthorizationDecisionStatement(SamlSubject, String, SamlAccessDecision, IEnumerable(Of SamlAction), SamlEvidence)Initializes a new instance of the SamlAuthorizationDecisionStatement class. using the specified subject, resource, authorization decision, and the actions sought by the subject on the resource.
Top
  NameDescription
Public propertyAccessDecisionGets or sets the authorization decision rendered by the SAML authority with respect to access by the subject to the specified resource.
Public propertyStatic memberClaimTypeGets the type of security claim.
Public propertyEvidenceGets or sets the evidence that the SAML authority relied on to render the authorization decision.
Public propertyIsReadOnlyGets a value that indicates whether the properties of this instance are read-only. (Overrides SamlSubjectStatement.IsReadOnly.)
Public propertyResourceThe resource to which access is sought by the subject of the SamlSecurityToken security token.
Public propertySamlActionsGets the set of actions that the subject is authorized to perform on the resource.
Public propertySamlSubjectGets or sets the subject of a SamlSecurityToken security token. (Inherited from SamlSubjectStatement.)
Top
  NameDescription
Protected methodAddClaimsToListAdds claims based on the properties of this instance to the specified collection of claims. (Overrides SamlSubjectStatement.AddClaimsToList(IList(Of Claim)).)
Public methodCreatePolicyCreates an authorization policy for a SamlSecurityToken security token. (Inherited from SamlSubjectStatement.)
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.)
Public methodMakeReadOnlyCauses this instance to be read-only. (Overrides SamlSubjectStatement.MakeReadOnly.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodReadXmlReads the SAML authorization statement from the specified XML reader. (Overrides SamlStatement.ReadXml(XmlDictionaryReader, SamlSerializer, SecurityTokenSerializer, SecurityTokenResolver).)
Protected methodSetSubjectSets the subject of a SamlSecurityToken security token. (Inherited from SamlSubjectStatement.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Public methodWriteXmlWrites the SAML authorization statement into the specified XML serializer. (Overrides SamlStatement.WriteXml(XmlDictionaryWriter, SamlSerializer, SecurityTokenSerializer).)
Top

SamlSecurityToken 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 specification defines a set of SAML statement types and one of them is a SamlAuthorizationDecisionStatement. An SamlAuthorizationDecisionStatement asserts an authorization decision regarding access by the subject to the specified resource has been made. The following table summarizes the properties that are associated with the authorization decision.

Property

Description

AccessDecision

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.

SamlActions

The set of actions that the subject is authorized to perform on the resource represented by the Resource property.

.NET Framework

Supported in: 4.5.1, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows Phone 8.1, Windows Phone 8, 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.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.