Rediger

Del via


SamlAuthorizationDecisionStatement Constructors

Definition

Initializes a new instance of the SamlAuthorizationDecisionStatement class.

Overloads

SamlAuthorizationDecisionStatement()

Initializes a new instance of the SamlAuthorizationDecisionStatement class.

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

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.

SamlAuthorizationDecisionStatement(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.

SamlAuthorizationDecisionStatement()

Initializes a new instance of the SamlAuthorizationDecisionStatement class.

public:
 SamlAuthorizationDecisionStatement();
public SamlAuthorizationDecisionStatement ();
Public Sub New ()

Remarks

This constructor initializes the IsReadOnly property to false and the ClaimType property to http://schemas.microsoft.com/mb/2005/09/ClaimType/SamlAuthorizationDecision.

Applies to

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

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.

public:
 SamlAuthorizationDecisionStatement(System::IdentityModel::Tokens::SamlSubject ^ samlSubject, System::String ^ resource, System::IdentityModel::Tokens::SamlAccessDecision accessDecision, System::Collections::Generic::IEnumerable<System::IdentityModel::Tokens::SamlAction ^> ^ samlActions);
public SamlAuthorizationDecisionStatement (System.IdentityModel.Tokens.SamlSubject samlSubject, string resource, System.IdentityModel.Tokens.SamlAccessDecision accessDecision, System.Collections.Generic.IEnumerable<System.IdentityModel.Tokens.SamlAction> samlActions);
new System.IdentityModel.Tokens.SamlAuthorizationDecisionStatement : System.IdentityModel.Tokens.SamlSubject * string * System.IdentityModel.Tokens.SamlAccessDecision * seq<System.IdentityModel.Tokens.SamlAction> -> System.IdentityModel.Tokens.SamlAuthorizationDecisionStatement
Public Sub New (samlSubject As SamlSubject, resource As String, accessDecision As SamlAccessDecision, samlActions As IEnumerable(Of SamlAction))

Parameters

samlSubject
SamlSubject

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

resource
String

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

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

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

Exceptions

samlActions is null.

-or-

samlActions contains a member that is null.

-or-

samlSubject is null.

authorityBindings contains a member that is null.

-or-

resource is null or empty.

Remarks

This constructor initializes the IsReadOnly property to false, the ClaimType property to http://schemas.microsoft.com/mb/2005/09/ClaimType/SamlAuthorizationDecision, and the Evidence property to null.

Applies to

SamlAuthorizationDecisionStatement(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.

public:
 SamlAuthorizationDecisionStatement(System::IdentityModel::Tokens::SamlSubject ^ samlSubject, System::String ^ resource, System::IdentityModel::Tokens::SamlAccessDecision accessDecision, System::Collections::Generic::IEnumerable<System::IdentityModel::Tokens::SamlAction ^> ^ samlActions, System::IdentityModel::Tokens::SamlEvidence ^ samlEvidence);
public SamlAuthorizationDecisionStatement (System.IdentityModel.Tokens.SamlSubject samlSubject, string resource, System.IdentityModel.Tokens.SamlAccessDecision accessDecision, System.Collections.Generic.IEnumerable<System.IdentityModel.Tokens.SamlAction> samlActions, System.IdentityModel.Tokens.SamlEvidence samlEvidence);
new System.IdentityModel.Tokens.SamlAuthorizationDecisionStatement : System.IdentityModel.Tokens.SamlSubject * string * System.IdentityModel.Tokens.SamlAccessDecision * seq<System.IdentityModel.Tokens.SamlAction> * System.IdentityModel.Tokens.SamlEvidence -> System.IdentityModel.Tokens.SamlAuthorizationDecisionStatement
Public Sub New (samlSubject As SamlSubject, resource As String, accessDecision As SamlAccessDecision, samlActions As IEnumerable(Of SamlAction), samlEvidence As SamlEvidence)

Parameters

samlSubject
SamlSubject

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

resource
String

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

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

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

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

Remarks

This constructor initializes the IsReadOnly property to false, the ClaimType property to http://schemas.microsoft.com/mb/2005/09/ClaimType/SamlAuthorizationDecision.

Applies to