Rediger

Del via


SamlAuthenticationStatement.AddClaimsToList(IList<Claim>) Method

Definition

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

protected:
 override void AddClaimsToList(System::Collections::Generic::IList<System::IdentityModel::Claims::Claim ^> ^ claims);
protected override void AddClaimsToList (System.Collections.Generic.IList<System.IdentityModel.Claims.Claim> claims);
override this.AddClaimsToList : System.Collections.Generic.IList<System.IdentityModel.Claims.Claim> -> unit
Protected Overrides Sub AddClaimsToList (claims As IList(Of Claim))

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