Επεξεργασία

Κοινή χρήση μέσω


SamlAuthorizationDecisionClaimResource Class

Definition

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

public ref class SamlAuthorizationDecisionClaimResource
[System.Runtime.Serialization.DataContract]
public class SamlAuthorizationDecisionClaimResource
[<System.Runtime.Serialization.DataContract>]
type SamlAuthorizationDecisionClaimResource = class
Public Class SamlAuthorizationDecisionClaimResource
Inheritance
SamlAuthorizationDecisionClaimResource
Attributes

Remarks

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.

Constructors

SamlAuthorizationDecisionClaimResource(String, SamlAccessDecision, String, String)

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

Properties

AccessDecision

Gets the authorization decision rendered by the SAML authority regarding the access to the resource by the subject.

ActionName

Gets the action sought by the subject on the resource specified in the Resource property.

ActionNamespace

Gets the XML namespace in which the action specified in the ActionName property is defined.

Resource

Gets the resource the subject is seeking access to.

Methods

Equals(Object)

Returns a value that indicates whether the instance is equal to the specified object.

GetHashCode()

Returns the hash code for the SamlAuthorizationDecisionClaimResource.

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)

Applies to

See also