Redigera

Dela via


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);
public virtual System.IdentityModel.Claims.ClaimSet ExtractSubjectKeyClaimSet (System.IdentityModel.Selectors.SamlSecurityTokenAuthenticator samlAuthenticator);
abstract member ExtractSubjectKeyClaimSet : System.IdentityModel.Selectors.SamlSecurityTokenAuthenticator -> System.IdentityModel.Claims.ClaimSet
override this.ExtractSubjectKeyClaimSet : System.IdentityModel.Selectors.SamlSecurityTokenAuthenticator -> System.IdentityModel.Claims.ClaimSet
Public Overridable Function ExtractSubjectKeyClaimSet (samlAuthenticator As SamlSecurityTokenAuthenticator) As ClaimSet

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