Export (0) Print
Expand All

Saml2Action Class

.NET Framework 4.5

Represents a <saml:Action> element defined by SAML 2.0.

System.Object
  System.IdentityModel.Tokens.Saml2Action

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

public class Saml2Action

The Saml2Action type exposes the following members.

  NameDescription
Public methodSaml2ActionInitializes a new instance of the Saml2Action class with the specified namespace and action.
Top

  NameDescription
Public propertyNamespaceGets or sets the URI reference that represents the XML namespace in which the name of the specified action is to be interpreted.
Public propertyValueGets or sets the action that the subject of the Saml2AuthorizationDecisionStatement can perform on the resource.
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

The Saml2Action class specifies an action on a resource for which authorization is either requested, granted, or denied in a Saml2AuthorizationDecisionStatement.

The Saml2AuthorizationDecisionStatement represents a claim about the ability of the subject of a SAML 2 assertion to perform a specified set of actions on a specified resource. A Saml2Action can be added to the Saml2AuthorizationDecisionStatement.Actions property to specify the desired action. The Value property represents the action and the Namespace property specifies the XML namespace in which the action is defined. The Saml2AuthorizationDecisionStatement.Resource property specifies the resource on which the access decision applies, and the Decision property specifies the access decision.

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