Share via


Saml2AuthorizationDecisionStatement Constructors

Definition

Overloads

Saml2AuthorizationDecisionStatement(Uri, String)

Initializes a new instance of the Saml2AuthorizationDecisionStatement class from a resource and decision.

Saml2AuthorizationDecisionStatement(Uri, String, IEnumerable<Saml2Action>)

Initializes a new instance of the Saml2AuthorizationDecisionStatement class from a resource and decision.

Saml2AuthorizationDecisionStatement(Uri, String)

Initializes a new instance of the Saml2AuthorizationDecisionStatement class from a resource and decision.

public Saml2AuthorizationDecisionStatement (Uri resource, string decision);
new Microsoft.IdentityModel.Tokens.Saml2.Saml2AuthorizationDecisionStatement : Uri * string -> Microsoft.IdentityModel.Tokens.Saml2.Saml2AuthorizationDecisionStatement
Public Sub New (resource As Uri, decision As String)

Parameters

resource
Uri

The Uri of the resource to be authorized.

decision
String

The AccessDecision in use.

Exceptions

if decision is null or empty.

if resource is not an absolute Uri.

Applies to

Saml2AuthorizationDecisionStatement(Uri, String, IEnumerable<Saml2Action>)

Initializes a new instance of the Saml2AuthorizationDecisionStatement class from a resource and decision.

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

Parameters

resource
Uri

The Uri of the resource to be authorized.

decision
String

The AccessDecision in use.

actions
IEnumerable<Saml2Action>

Collection of Saml2Action specifications.

Applies to