Redigera

Dela via


SamlSubjectStatement.AddClaimsToList(IList<Claim>) Method

Definition

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

protected:
 abstract void AddClaimsToList(System::Collections::Generic::IList<System::IdentityModel::Claims::Claim ^> ^ claims);
protected abstract void AddClaimsToList (System.Collections.Generic.IList<System.IdentityModel.Claims.Claim> claims);
abstract member AddClaimsToList : System.Collections.Generic.IList<System.IdentityModel.Claims.Claim> -> unit
Protected MustOverride 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 method adds a claim to the claims parameter based on the SamlSubject property.

Applies to