SamlAuthorizationDecisionStatement Constructor (SamlSubject, String, SamlAccessDecision, IEnumerable<SamlAction>, SamlEvidence)


Initializes a new instance of the SamlAuthorizationDecisionStatement class. using the specified subject, resource, authorization decision, and the actions sought by the subject on the resource.

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

public SamlAuthorizationDecisionStatement(
	SamlSubject samlSubject,
	string resource,
	SamlAccessDecision accessDecision,
	IEnumerable<SamlAction> samlActions,
	SamlEvidence samlEvidence


Type: System.IdentityModel.Tokens.SamlSubject

A SamlSubject that represents the subject of the claim. Sets the SamlSubject property.

Type: System.String

A URI reference that identifies the resource to which access is sought. Sets the Resource property.

Type: System.IdentityModel.Tokens.SamlAccessDecision

A SamlAccessDecision that specifies the authorization decision rendered by the SAML authority with respect to access by the subject to the specified resource. Sets the AccessDecision property.

Type: System.Collections.Generic.IEnumerable<SamlAction>

An IEnumerable<T> of type SamlAction that specifies the set of actions that the subject is authorized to perform on the resource. Sets the SamlActions property.

Type: System.IdentityModel.Tokens.SamlEvidence

A SamlEvidence that contains a set of SAML assertions that the SAML authority relied on to render the authorization decision. Sets the Evidence property.

This constructor initializes the IsReadOnly property to false, the ClaimType property to

.NET Framework
Available since 3.0
Return to top