Muokkaa

Jaa


SamlAuthorizationDecisionClaimResource Constructor

Definition

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.

public:
 SamlAuthorizationDecisionClaimResource(System::String ^ resource, System::IdentityModel::Tokens::SamlAccessDecision accessDecision, System::String ^ actionNamespace, System::String ^ actionName);
public SamlAuthorizationDecisionClaimResource (string resource, System.IdentityModel.Tokens.SamlAccessDecision accessDecision, string actionNamespace, string actionName);
new System.IdentityModel.Tokens.SamlAuthorizationDecisionClaimResource : string * System.IdentityModel.Tokens.SamlAccessDecision * string * string -> System.IdentityModel.Tokens.SamlAuthorizationDecisionClaimResource
Public Sub New (resource As String, accessDecision As SamlAccessDecision, actionNamespace As String, actionName As String)

Parameters

resource
String

The resource the subject is seeking access to.

accessDecision
SamlAccessDecision

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

actionNamespace
String

The XML namespace in which the action specified in the actionName parameter is defined.

actionName
String

The action sought by the subject on the resource specified in the resource parameter.

Exceptions

resource or actionName is null or an empty string.

Remarks

The following table details the properties set by the parameters passed to this constructor.

Parameter Property
resource Resource
accessDecision AccessDecision
actionNamespace ActionNamespace
actionName ActionName

Applies to