SamlSubject.ExtractSubjectKeyClaimSet Method (SamlSecurityTokenAuthenticator)


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

Gets a set of claims using the properties of this class and the specified SAML security token authenticator.

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

public virtual ClaimSet ExtractSubjectKeyClaimSet(
	SamlSecurityTokenAuthenticator samlAuthenticator


Type: System.IdentityModel.Selectors.SamlSecurityTokenAuthenticator

A SamlSecurityTokenAuthenticator that authenticates the portion of a SamlSecurityToken security token that corresponds to the <saml:Subject> element.

Return Value

Type: System.IdentityModel.Claims.ClaimSet

A ClaimSet that contains the set of claims represented by this SamlSubject instance.

Exception Condition

samlAuthenticator is null.

Use the ExtractSubjectKeyClaimSet(SamlSecurityTokenAuthenticator) 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