Muokkaa

Jaa


Saml2AuthorizationDecisionStatement Constructors

Definition

Initializes a new instance of the Saml2AuthorizationDecisionStatement class with the specified decision on the specified resource.

Overloads

Saml2AuthorizationDecisionStatement(Uri, SamlAccessDecision)

Initializes a new instance of the Saml2AuthorizationDecisionStatement class with the specified decision for the specified resource.

Saml2AuthorizationDecisionStatement(Uri, SamlAccessDecision, IEnumerable<Saml2Action>)

Initializes a new instance of the Saml2AuthorizationDecisionStatement class with the specified decision for the specified actions on the specified resource.

Saml2AuthorizationDecisionStatement(Uri, SamlAccessDecision)

Initializes a new instance of the Saml2AuthorizationDecisionStatement class with the specified decision for the specified resource.

public:
 Saml2AuthorizationDecisionStatement(Uri ^ resource, System::IdentityModel::Tokens::SamlAccessDecision decision);
public Saml2AuthorizationDecisionStatement (Uri resource, System.IdentityModel.Tokens.SamlAccessDecision decision);
new System.IdentityModel.Tokens.Saml2AuthorizationDecisionStatement : Uri * System.IdentityModel.Tokens.SamlAccessDecision -> System.IdentityModel.Tokens.Saml2AuthorizationDecisionStatement
Public Sub New (resource As Uri, decision As SamlAccessDecision)

Parameters

resource
Uri

The Uri of the resource about which the authorization decision applies. Sets the Resource property.

decision
SamlAccessDecision

A SamlAccessDecision value that indicates the decision. Sets the Decision property.

Exceptions

resource is null.

resource is not an absolute URI or an empty relative URI.

decision is not a valid SamlAccessDecision value.

Remarks

The Actions property is initialized to null in the new instance.

Applies to

Saml2AuthorizationDecisionStatement(Uri, SamlAccessDecision, IEnumerable<Saml2Action>)

Initializes a new instance of the Saml2AuthorizationDecisionStatement class with the specified decision for the specified actions on the specified resource.

public:
 Saml2AuthorizationDecisionStatement(Uri ^ resource, System::IdentityModel::Tokens::SamlAccessDecision decision, System::Collections::Generic::IEnumerable<System::IdentityModel::Tokens::Saml2Action ^> ^ actions);
public Saml2AuthorizationDecisionStatement (Uri resource, System.IdentityModel.Tokens.SamlAccessDecision decision, System.Collections.Generic.IEnumerable<System.IdentityModel.Tokens.Saml2Action> actions);
new System.IdentityModel.Tokens.Saml2AuthorizationDecisionStatement : Uri * System.IdentityModel.Tokens.SamlAccessDecision * seq<System.IdentityModel.Tokens.Saml2Action> -> System.IdentityModel.Tokens.Saml2AuthorizationDecisionStatement
Public Sub New (resource As Uri, decision As SamlAccessDecision, actions As IEnumerable(Of Saml2Action))

Parameters

resource
Uri

The Uri of the resource about which the authorization decision applies. Sets the Resource property.

decision
SamlAccessDecision

A SamlAccessDecision value that indicates the decision. Sets the Decision property.

actions
IEnumerable<Saml2Action>

A collection of Saml2Action that specifies the actions to be authorized on the resource. Sets the Actions property.

Exceptions

resource is null.

resource is not an absolute URI or an empty relative URI.

decision is not a valid SamlAccessDecision value.

Applies to