Saml2Action Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a <saml:Action>
element defined by SAML 2.0.
public ref class Saml2Action
public class Saml2Action
type Saml2Action = class
Public Class Saml2Action
- Inheritance
-
Saml2Action
Remarks
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.
Constructors
Saml2Action(String, Uri) |
Initializes a new instance of the Saml2Action class with the specified namespace and action. |
Properties
Namespace |
Gets or sets the URI reference that represents the XML namespace in which the name of the specified action is to be interpreted. |
Value |
Gets or sets the action that the subject of the Saml2AuthorizationDecisionStatement can perform on the resource. |
Methods
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
ToString() |
Returns a string that represents the current object. (Inherited from Object) |