SamlSubjectStatement.AddClaimsToList Method (IList<Claim>)

 

Adds a claim 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 abstract 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.

Exception Condition
ArgumentNullException

claims is null.

The AddClaimsToList method adds a claim to the claims parameter based on the SamlSubject property.

.NET Framework
Available since 3.0
Return to top
Show: