Прочетете на английски Редактиране

Споделяне чрез


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.

C#
public Saml2Evidence();

Applies to

.NET Framework 4.8.1 и други версии
Продукт Версии
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

Saml2Evidence(Saml2Assertion)

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

C#
public Saml2Evidence(System.IdentityModel.Tokens.Saml2Assertion assertion);

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

.NET Framework 4.8.1 и други версии
Продукт Версии
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

Saml2Evidence(Saml2Id)

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

C#
public Saml2Evidence(System.IdentityModel.Tokens.Saml2Id idReference);

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

.NET Framework 4.8.1 и други версии
Продукт Версии
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

Saml2Evidence(Uri)

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

C#
public Saml2Evidence(Uri uriReference);

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

.NET Framework 4.8.1 и други версии
Продукт Версии
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1