SamlAuthorizationDecisionStatement.AddClaimsToList Method (IList<Claim>)


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


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

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

Exception Condition

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
Available since 3.0
Return to top