Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

SamlSecurityTokenHandler.CreateSamlSubject Method

.NET Framework 4.6 and 4.5

Creates a SAML 1.1 subject for the assertion.

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

protected virtual SamlSubject CreateSamlSubject(
	SecurityTokenDescriptor tokenDescriptor
)

Parameters

tokenDescriptor
Type: System.IdentityModel.Tokens.SecurityTokenDescriptor

The security token descriptor from which to create the subject.

Return Value

Type: System.IdentityModel.Tokens.SamlSubject
A SamlSubject that represents the subject of the assertion.

ExceptionCondition
ArgumentNullException

tokenDescriptor is null.

.NET Framework

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft