Επεξεργασία

Κοινή χρήση μέσω


SamlEvidence Constructors

Definition

Initializes a new instance of the SamlEvidence class.

Overloads

SamlEvidence()

Initializes a new instance of the SamlEvidence class.

SamlEvidence(IEnumerable<SamlAssertion>)

Initializes a new instance of the SamlEvidence class using the specified set of SAML assertions.

SamlEvidence(IEnumerable<String>)

Initializes a new instance of the SamlEvidence class using the specified set of SAML assertion references.

SamlEvidence(IEnumerable<String>, IEnumerable<SamlAssertion>)

Initializes a new instance of the SamlEvidence class using the specified set of SAML assertion references and SAML assertions.

SamlEvidence()

Initializes a new instance of the SamlEvidence class.

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

Remarks

This constructor initializes the IsReadOnly property to false.

Applies to

SamlEvidence(IEnumerable<SamlAssertion>)

Initializes a new instance of the SamlEvidence class using the specified set of SAML assertions.

public:
 SamlEvidence(System::Collections::Generic::IEnumerable<System::IdentityModel::Tokens::SamlAssertion ^> ^ assertions);
public SamlEvidence (System.Collections.Generic.IEnumerable<System.IdentityModel.Tokens.SamlAssertion> assertions);
new System.IdentityModel.Tokens.SamlEvidence : seq<System.IdentityModel.Tokens.SamlAssertion> -> System.IdentityModel.Tokens.SamlEvidence
Public Sub New (assertions As IEnumerable(Of SamlAssertion))

Parameters

assertions
IEnumerable<SamlAssertion>

An IEnumerable<T> of type SamlAssertion that contains the evidence that the SAML authority relied on to render the authorization decision. Sets the Assertions property.

Exceptions

assertions contains a member that is null.

Remarks

Use this constructor when you have a collection of SamlAssertion objects, but no SAML assertion references.

Applies to

SamlEvidence(IEnumerable<String>)

Initializes a new instance of the SamlEvidence class using the specified set of SAML assertion references.

public:
 SamlEvidence(System::Collections::Generic::IEnumerable<System::String ^> ^ assertionIdReferences);
public SamlEvidence (System.Collections.Generic.IEnumerable<string> assertionIdReferences);
new System.IdentityModel.Tokens.SamlEvidence : seq<string> -> System.IdentityModel.Tokens.SamlEvidence
Public Sub New (assertionIdReferences As IEnumerable(Of String))

Parameters

assertionIdReferences
IEnumerable<String>

An IEnumerable<T> of type String that contains an identifier for a SAML assertion that specifies the evidence that the SAML authority relied on to render the authorization decision. Sets the AssertionIdReferences property.

Exceptions

assertionIdReferences contains a member that is null or empty.

Remarks

Use this constructor when you have a collection of SAML assertion references, but no SamlAssertion objects.

Applies to

SamlEvidence(IEnumerable<String>, IEnumerable<SamlAssertion>)

Initializes a new instance of the SamlEvidence class using the specified set of SAML assertion references and SAML assertions.

public:
 SamlEvidence(System::Collections::Generic::IEnumerable<System::String ^> ^ assertionIdReferences, System::Collections::Generic::IEnumerable<System::IdentityModel::Tokens::SamlAssertion ^> ^ assertions);
public SamlEvidence (System.Collections.Generic.IEnumerable<string> assertionIdReferences, System.Collections.Generic.IEnumerable<System.IdentityModel.Tokens.SamlAssertion> assertions);
new System.IdentityModel.Tokens.SamlEvidence : seq<string> * seq<System.IdentityModel.Tokens.SamlAssertion> -> System.IdentityModel.Tokens.SamlEvidence
Public Sub New (assertionIdReferences As IEnumerable(Of String), assertions As IEnumerable(Of SamlAssertion))

Parameters

assertionIdReferences
IEnumerable<String>

An IEnumerable<T> of type String that contains an identifier for a SAML assertion that specifies the evidence that the SAML authority relied on to render the authorization decision. Sets the AssertionIdReferences property.

assertions
IEnumerable<SamlAssertion>

An IEnumerable<T> of type SamlAssertion that contains the evidence that the SAML authority relied on to render the authorization decision. Sets the Assertions property.

Exceptions

assertionIdReferences contains a member that is null or empty.

-or-

assertions contains a member that is null.

-or-

assertionIdReferences and assertions are both null.

Remarks

Use this constructor when you have a collection of SAML assertion references and a collection of SamlAssertion objects.

Applies to