Saml2Evidence Constructors

Definition

Initializes a new instance of the Saml2Evidence class.

Overloads

Saml2Evidence()

Initializes a new instance of the Saml2Evidence class.

Saml2Evidence(Saml2Assertion)

Initializes a new instance of the Saml2Evidence class with the specified assertion.

Saml2Evidence(Saml2Id)

Initializes a new instance of the Saml2Evidence class with an ID that references an assertion.

Saml2Evidence(Uri)

Initializes a new instance of the Saml2Evidence class with a URI that references an assertion.

Saml2Evidence()

Initializes a new instance of the Saml2Evidence class.

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

Applies to

Saml2Evidence(Saml2Assertion)

Initializes a new instance of the Saml2Evidence class with the specified assertion.

public:
 Saml2Evidence(System::IdentityModel::Tokens::Saml2Assertion ^ assertion);
public Saml2Evidence (System.IdentityModel.Tokens.Saml2Assertion assertion);
new System.IdentityModel.Tokens.Saml2Evidence : System.IdentityModel.Tokens.Saml2Assertion -> System.IdentityModel.Tokens.Saml2Evidence
Public Sub New (assertion As Saml2Assertion)

Parameters

assertion
Saml2Assertion

A Saml2Assertion that contains the evidence.

Exceptions

assertion is null.

Remarks

The specified assertion is added to the collection accessed through the Assertions property.

Applies to

Saml2Evidence(Saml2Id)

Initializes a new instance of the Saml2Evidence class with an ID that references an assertion.

public:
 Saml2Evidence(System::IdentityModel::Tokens::Saml2Id ^ idReference);
public Saml2Evidence (System.IdentityModel.Tokens.Saml2Id idReference);
new System.IdentityModel.Tokens.Saml2Evidence : System.IdentityModel.Tokens.Saml2Id -> System.IdentityModel.Tokens.Saml2Evidence
Public Sub New (idReference As Saml2Id)

Parameters

idReference
Saml2Id

A Saml2Id that references the assertion.

Exceptions

idReference is null.

Remarks

The specified ID is added to the collection accessed through the AssertionIdReferences property.

Applies to

Saml2Evidence(Uri)

Initializes a new instance of the Saml2Evidence class with a URI that references an assertion.

public:
 Saml2Evidence(Uri ^ uriReference);
public Saml2Evidence (Uri uriReference);
new System.IdentityModel.Tokens.Saml2Evidence : Uri -> System.IdentityModel.Tokens.Saml2Evidence
Public Sub New (uriReference As Uri)

Parameters

uriReference
Uri

A Uri that references an assertion.

Exceptions

uriReference is null.

Remarks

The specified URI is added to the collection accessed through the AssertionUriReferences property.

Applies to