Op Englesch liesen Editéieren

Deelen iwwer


SamlAuthenticationStatement.AddClaimsToList(IList<Claim>) Method

Definition

Adds a claim based on the properties of this instance to the specified collection of claims.

C#
protected override void AddClaimsToList(System.Collections.Generic.IList<System.IdentityModel.Claims.Claim> claims);

Parameters

claims
IList<Claim>

An IList<T> of type Claim that contains the set of claims to add to.

Exceptions

claims is null.

Remarks

The AddClaimsToList(IList<Claim>) method adds a claim to the claims parameter based on the AuthenticationInstant, AuthenticationMethod, AuthorityBindings, ClaimType, DnsAddress, IPAddress, and properties.

Applies to

Produkt Versiounen
.NET Framework 3.0, 3.5, 4.0, 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