SamlSecurityTokenHandler.CreateStatements(SecurityTokenDescriptor) Method

Definition

Creates SAML 1.1 statements to be included in the assertion.

C#
protected virtual System.Collections.Generic.IEnumerable<System.IdentityModel.Tokens.SamlStatement> CreateStatements(System.IdentityModel.Tokens.SecurityTokenDescriptor tokenDescriptor);

Parameters

tokenDescriptor
SecurityTokenDescriptor

The token descriptor from which to create the statements.

Returns

An enumeration of SamlStatement that contains the statements.

Exceptions

tokenDescriptor is null.

Remarks

Statements are not required in a SAML 1.1 assertion. This method may return an empty collection.

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