SamlSubject.ExtractClaims Method ()


Gets a set of claims using the properties of this class.

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

public virtual ReadOnlyCollection<Claim> ExtractClaims()

Return Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<Claim>

A ReadOnlyCollection<T> of type Claim that contains the set of claims represented by this SamlSubject instance.

Use the ExtractClaims method to get a set of claims associated with the identity of a SamlSecurityToken security token.

.NET Framework
Available since 3.0
Return to top