Saml2SecurityTokenHandler.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, Microsoft.IdentityModel.Tokens.Saml2.Saml2SecurityToken securityToken, Microsoft.IdentityModel.Tokens.TokenValidationParameters validationParameters);
abstract member ValidateIssuerSecurityKey : Microsoft.IdentityModel.Tokens.SecurityKey * Microsoft.IdentityModel.Tokens.Saml2.Saml2SecurityToken * Microsoft.IdentityModel.Tokens.TokenValidationParameters -> unit
override this.ValidateIssuerSecurityKey : Microsoft.IdentityModel.Tokens.SecurityKey * Microsoft.IdentityModel.Tokens.Saml2.Saml2SecurityToken * Microsoft.IdentityModel.Tokens.TokenValidationParameters -> unit
Protected Overridable Sub ValidateIssuerSecurityKey (key As SecurityKey, securityToken As Saml2SecurityToken, validationParameters As TokenValidationParameters)
Parameters
- key
- SecurityKey
The SecurityKey that signed the SecurityToken.
- securityToken
- Saml2SecurityToken
The Saml2SecurityToken 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
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk