Expand Minimize

Saml2SecurityTokenHandler.CreateSamlSubject Method

.NET Framework 4.5

Creates a SAML 2.0 subject for the assertion.

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

protected virtual Saml2Subject 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.Saml2Subject
A Saml2Subject that represents the subject of the assertion.

ExceptionCondition
ArgumentNullException

tokenDescriptor is null.

.NET Framework

Supported in: 4.6, 4.5
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft