Muokkaa

Jaa


SamlAuthorizationDecisionStatement.AddClaimsToList(IList<Claim>) Method

Definition

Adds claims 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 for each action specified in the SamlActions property. Each claim that is added to the collection is based on the action, and the ClaimType, Resource, and AccessDecision properties. The claim resource type is SamlAuthorizationDecisionClaimResource.

Applies to

See also