Saml2SecurityTokenHandler Constructor (SamlSecurityTokenRequirement^)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Initializes a new instance of the Saml2SecurityTokenHandler class with the specified security token requirements.

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

public:
Saml2SecurityTokenHandler(
	SamlSecurityTokenRequirement^ samlSecurityTokenRequirement
)

Parameters

samlSecurityTokenRequirement
Type: System.IdentityModel.Tokens::SamlSecurityTokenRequirement^

The SamlSecurityTokenRequirement to be used by this instance when validating tokens. Sets the SamlSecurityTokenRequirement property.

Exception Condition
ArgumentNullException

samlSecurityTokenRequirement is null.

.NET Framework
Available since 4.5
Return to top
Show: