IssuedSecurityTokenParameters.ClaimTypeRequirements Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets a collection of claim type requirements.

Namespace:   System.ServiceModel.Security.Tokens
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public Collection<ClaimTypeRequirement> ClaimTypeRequirements { get; }

Property Value

Type: System.Collections.ObjectModel.Collection<ClaimTypeRequirement>

A Collection<T> of type ClaimTypeRequirement that holds the additional claim type requirements.

In a federated scenario, services state the requirements on incoming credentials. For example, the incoming credentials must possess a certain set of claim types. Each ClaimTypeRequirement in the returned collection specifies the types of required and optional claims expected to appear in a federated credential.

A claim type requirement consists of the URI of the claim type requested in the issued token along with a Boolean parameter that indicates whether that claim type is required in the issued token or is optional.

.NET Framework
Available since 3.0
Return to top
Show: