Freigeben über


SamlSecurityTokenHandler.ValidateIssuerSecurityKey Method

Definition

Overloads

ValidateIssuerSecurityKey(SecurityKey, SamlSecurityToken, TokenValidationParameters)

Validates the SigningKey is an expected value.

ValidateIssuerSecurityKey(SecurityKey, SecurityToken, TokenValidationParameters)

Validates the SecurityToken was signed by a valid SecurityKey.

ValidateIssuerSecurityKey(SecurityKey, SamlSecurityToken, TokenValidationParameters)

Validates the SigningKey is an expected value.

protected virtual void ValidateIssuerSecurityKey (Microsoft.IdentityModel.Tokens.SecurityKey key, Microsoft.IdentityModel.Tokens.Saml.SamlSecurityToken securityToken, Microsoft.IdentityModel.Tokens.TokenValidationParameters validationParameters);
abstract member ValidateIssuerSecurityKey : Microsoft.IdentityModel.Tokens.SecurityKey * Microsoft.IdentityModel.Tokens.Saml.SamlSecurityToken * Microsoft.IdentityModel.Tokens.TokenValidationParameters -> unit
override this.ValidateIssuerSecurityKey : Microsoft.IdentityModel.Tokens.SecurityKey * Microsoft.IdentityModel.Tokens.Saml.SamlSecurityToken * Microsoft.IdentityModel.Tokens.TokenValidationParameters -> unit
Protected Overridable Sub ValidateIssuerSecurityKey (key As SecurityKey, securityToken As SamlSecurityToken, validationParameters As TokenValidationParameters)

Parameters

key
SecurityKey

The SecurityKey that signed the SecurityToken.

securityToken
SamlSecurityToken

The SamlSecurityToken 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

ValidateIssuerSecurityKey(SecurityKey, SecurityToken, TokenValidationParameters)

Validates the SecurityToken was signed by a valid SecurityKey.

protected virtual void ValidateIssuerSecurityKey (Microsoft.IdentityModel.Tokens.SecurityKey securityKey, Microsoft.IdentityModel.Tokens.SecurityToken securityToken, Microsoft.IdentityModel.Tokens.TokenValidationParameters validationParameters);
abstract member ValidateIssuerSecurityKey : Microsoft.IdentityModel.Tokens.SecurityKey * Microsoft.IdentityModel.Tokens.SecurityToken * Microsoft.IdentityModel.Tokens.TokenValidationParameters -> unit
override this.ValidateIssuerSecurityKey : Microsoft.IdentityModel.Tokens.SecurityKey * Microsoft.IdentityModel.Tokens.SecurityToken * Microsoft.IdentityModel.Tokens.TokenValidationParameters -> unit
Protected Overridable Sub ValidateIssuerSecurityKey (securityKey As SecurityKey, securityToken As SecurityToken, validationParameters As TokenValidationParameters)

Parameters

securityKey
SecurityKey

The SecurityKey that signed the SecurityToken.

securityToken
SecurityToken

The SecurityToken being validated.

validationParameters
TokenValidationParameters

The TokenValidationParameters to be used for validating the token.

Applies to