แก้ไข

แชร์ผ่าน


SamlSecurityTokenHandler Constructors

Definition

Initializes a new instance of the SamlSecurityTokenHandler class.

Overloads

SamlSecurityTokenHandler()

Initializes a new instance of the SamlSecurityTokenHandler class with default security token requirements.

SamlSecurityTokenHandler(SamlSecurityTokenRequirement)

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

SamlSecurityTokenHandler()

Initializes a new instance of the SamlSecurityTokenHandler class with default security token requirements.

public:
 SamlSecurityTokenHandler();
public SamlSecurityTokenHandler ();
Public Sub New ()

Remarks

The SamlSecurityTokenRequirement property is set to an instance of SamlSecurityTokenRequirement that is created with the parameterless constructor.

Applies to

SamlSecurityTokenHandler(SamlSecurityTokenRequirement)

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

public:
 SamlSecurityTokenHandler(System::IdentityModel::Tokens::SamlSecurityTokenRequirement ^ samlSecurityTokenRequirement);
public SamlSecurityTokenHandler (System.IdentityModel.Tokens.SamlSecurityTokenRequirement samlSecurityTokenRequirement);
new System.IdentityModel.Tokens.SamlSecurityTokenHandler : System.IdentityModel.Tokens.SamlSecurityTokenRequirement -> System.IdentityModel.Tokens.SamlSecurityTokenHandler
Public Sub New (samlSecurityTokenRequirement As SamlSecurityTokenRequirement)

Parameters

samlSecurityTokenRequirement
SamlSecurityTokenRequirement

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

Exceptions

samlSecurityTokenRequirement is null.

See also

Applies to