SamlSecurityTokenHandler.CreateStatements Method (SecurityTokenDescriptor)

.NET Framework (current version)
 

Creates SAML 1.1 statements to be included in the assertion.

Namespace:   System.IdentityModel.Tokens
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

protected virtual IEnumerable<SamlStatement> CreateStatements(
	SecurityTokenDescriptor tokenDescriptor
)

Parameters

tokenDescriptor
Type: System.IdentityModel.Tokens.SecurityTokenDescriptor

The token descriptor from which to create the statements.

Return Value

Type: System.Collections.Generic.IEnumerable<SamlStatement>

An enumeration of SamlStatement that contains the statements.

Exception Condition
ArgumentNullException

tokenDescriptor is null.

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

.NET Framework
Available since 4.5
Return to top
Show: