다음을 통해 공유


Saml2SecurityTokenHandler.ValidateIssuerSecurityKey Method

Definition

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 TokenValidationParameters to be used for validating the token.

Remarks

If the SigningKey is a X509SecurityKey then the X509Certificate2 will be validated using the CertificateValidator.

Applies to