Прочетете на английски Редактиране

Споделяне чрез


SamlSubject.ExtractSubjectKeyClaimSet(SamlSecurityTokenAuthenticator) Method

Definition

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

public virtual System.IdentityModel.Claims.ClaimSet ExtractSubjectKeyClaimSet (System.IdentityModel.Selectors.SamlSecurityTokenAuthenticator samlAuthenticator);

Parameters

samlAuthenticator
SamlSecurityTokenAuthenticator

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

Returns

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

Exceptions

samlAuthenticator is null.

Remarks

Use the ExtractSubjectKeyClaimSet(SamlSecurityTokenAuthenticator) method to get a set of claims associated with the identity of a SamlSecurityToken security token.

Applies to

Продукт Версии
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1