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

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


SamlSecurityTokenHandler.CreateSamlSubject(SecurityTokenDescriptor) Method

Definition

Creates a SAML 1.1 subject for the assertion.

C#
protected virtual System.IdentityModel.Tokens.SamlSubject CreateSamlSubject(System.IdentityModel.Tokens.SecurityTokenDescriptor tokenDescriptor);

Parameters

tokenDescriptor
SecurityTokenDescriptor

The security token descriptor from which to create the subject.

Returns

A SamlSubject that represents the subject of the assertion.

Exceptions

tokenDescriptor is null.

Applies to

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