Saml2Action Class

.NET Framework (current version)
 

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

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

System.Object
  System.IdentityModel.Tokens.Saml2Action

public class Saml2Action

NameDescription
System_CAPS_pubmethodSaml2Action(String, Uri)

Initializes a new instance of the Saml2Action class with the specified namespace and action.

NameDescription
System_CAPS_pubpropertyNamespace

Gets or sets the URI reference that represents the XML namespace in which the name of the specified action is to be interpreted.

System_CAPS_pubpropertyValue

Gets or sets the action that the subject of the Saml2AuthorizationDecisionStatement can perform on the resource.

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

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