Saml2SecurityTokenHandler Constructor (SamlSecurityTokenRequirement)

.NET Framework (current version)
 

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: