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

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


SamlSecurityTokenAuthenticator.ResolveClaimSet Method

Definition

Resolves the identity associated with the specified security token or key identifier and returns it as a ClaimSet.

Overloads

ResolveClaimSet(SecurityKeyIdentifier)

Resolves the identity associated with the specified key identifier using the supporting security authenticators provided when the SamlSecurityTokenAuthenticator instance was created and returns it as a ClaimSet.

ResolveClaimSet(SecurityToken)

Resolves the identity associated with the specified security token using the supporting token authenticators provided when the SamlSecurityTokenAuthenticator instance was created and returns it as a ClaimSet.

ResolveClaimSet(SecurityKeyIdentifier)

Resolves the identity associated with the specified key identifier using the supporting security authenticators provided when the SamlSecurityTokenAuthenticator instance was created and returns it as a ClaimSet.

C#
public virtual System.IdentityModel.Claims.ClaimSet ResolveClaimSet(System.IdentityModel.Tokens.SecurityKeyIdentifier keyIdentifier);

Parameters

keyIdentifier
SecurityKeyIdentifier

A SecurityKeyIdentifier to get the identity of.

Returns

A ClaimSet that represents the identity of the specified key identifier.

Applies to

.NET Framework 4.8.1 и други версии
Продукт Версии
.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

ResolveClaimSet(SecurityToken)

Resolves the identity associated with the specified security token using the supporting token authenticators provided when the SamlSecurityTokenAuthenticator instance was created and returns it as a ClaimSet.

C#
public virtual System.IdentityModel.Claims.ClaimSet ResolveClaimSet(System.IdentityModel.Tokens.SecurityToken token);

Parameters

token
SecurityToken

The SecurityToken to get the identity of.

Returns

A ClaimSet that represents the identity of the specified security token.

Applies to

.NET Framework 4.8.1 и други версии
Продукт Версии
.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