Saml2SecurityTokenHandler Constructors
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the Saml2SecurityTokenHandler class.
Saml2SecurityTokenHandler() |
Initializes a new instance of the Saml2SecurityTokenHandler class with default security token requirements. |
Saml2SecurityTokenHandler(SamlSecurityTokenRequirement) |
Initializes a new instance of the Saml2SecurityTokenHandler class with the specified security token requirements. |
Initializes a new instance of the Saml2SecurityTokenHandler class with default security token requirements.
public:
Saml2SecurityTokenHandler();
public Saml2SecurityTokenHandler();
Public Sub New ()
Remarks
The SamlSecurityTokenRequirement property is set to an instance of SamlSecurityTokenRequirement that is crated with the parameterless constructor.
Applies to
.NET Framework 4.8.1 и други версии
Продукт | Версии |
---|---|
.NET Framework | 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Initializes a new instance of the Saml2SecurityTokenHandler class with the specified security token requirements.
public:
Saml2SecurityTokenHandler(System::IdentityModel::Tokens::SamlSecurityTokenRequirement ^ samlSecurityTokenRequirement);
public Saml2SecurityTokenHandler(System.IdentityModel.Tokens.SamlSecurityTokenRequirement samlSecurityTokenRequirement);
new System.IdentityModel.Tokens.Saml2SecurityTokenHandler : System.IdentityModel.Tokens.SamlSecurityTokenRequirement -> System.IdentityModel.Tokens.Saml2SecurityTokenHandler
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
.NET Framework 4.8.1 и други версии
Продукт | Версии |
---|---|
.NET Framework | 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Обратна връзка за .NET
.NET е проект с отворен код. Изберете връзка, за да предоставите обратна връзка: