SslSecurityTokenParameters.InitializeSecurityTokenRequirement Method
Definition
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 security token requirement.
protected public:
override void InitializeSecurityTokenRequirement(System::IdentityModel::Selectors::SecurityTokenRequirement ^ requirement);
protected internal override void InitializeSecurityTokenRequirement (System.IdentityModel.Selectors.SecurityTokenRequirement requirement);
override this.InitializeSecurityTokenRequirement : System.IdentityModel.Selectors.SecurityTokenRequirement -> unit
Protected Friend Overrides Sub InitializeSecurityTokenRequirement (requirement As SecurityTokenRequirement)
Parameters
- requirement
- SecurityTokenRequirement
The requirement of the security token.
Remarks
The following properties of the SecurityTokenRequirement are initialized:
If RequireClientCertificate is
true
, TokenType = MutualSslnego; otherwise, it is set to AnonymousSslnego.RequireCryptographicToken =
true
.The
SupportSecurityContextCancellation
property in Properties is set to RequireCancellation.The
IssuedSecurityTokenParameters
property in Properties is set to a clone of the current instance.