JwtSecurityTokenHandler.ValidateIssuerSecurityKey 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.
Validates the SigningKey is an expected value.
protected virtual void ValidateIssuerSecurityKey (Microsoft.IdentityModel.Tokens.SecurityKey key, System.IdentityModel.Tokens.Jwt.JwtSecurityToken securityToken, Microsoft.IdentityModel.Tokens.TokenValidationParameters validationParameters);
abstract member ValidateIssuerSecurityKey : Microsoft.IdentityModel.Tokens.SecurityKey * System.IdentityModel.Tokens.Jwt.JwtSecurityToken * Microsoft.IdentityModel.Tokens.TokenValidationParameters -> unit
override this.ValidateIssuerSecurityKey : Microsoft.IdentityModel.Tokens.SecurityKey * System.IdentityModel.Tokens.Jwt.JwtSecurityToken * Microsoft.IdentityModel.Tokens.TokenValidationParameters -> unit
Protected Overridable Sub ValidateIssuerSecurityKey (key As SecurityKey, securityToken As JwtSecurityToken, validationParameters As TokenValidationParameters)
Parameters
- key
- SecurityKey
The SecurityKey that signed the SecurityToken.
- securityToken
- JwtSecurityToken
The JwtSecurityToken to validate.
- validationParameters
- TokenValidationParameters
The current TokenValidationParameters.
Remarks
If the SigningKey is a X509SecurityKey then the X509Certificate2 will be validated using the CertificateValidator.
Applies to
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示