Export (0) Print
Expand All

SamlAuthorizationDecisionStatement.AddClaimsToList Method

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

Namespace:  System.IdentityModel.Tokens
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

protected override void AddClaimsToList(
	IList<Claim> claims
)

Parameters

claims
Type: System.Collections.Generic.IList<Claim>

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

ExceptionCondition
ArgumentNullException

claims is null.

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.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft