Condividi tramite


IssuerSigningKeyValidator Delegate

Definition

Validates the signing key used for the security token.

public delegate bool IssuerSigningKeyValidator(SecurityKey securityKey, SecurityToken securityToken, TokenValidationParameters validationParameters);
type IssuerSigningKeyValidator = delegate of SecurityKey * SecurityToken * TokenValidationParameters -> bool
Public Delegate Function IssuerSigningKeyValidator(securityKey As SecurityKey, securityToken As SecurityToken, validationParameters As TokenValidationParameters) As Boolean 

Parameters

securityKey
SecurityKey

The SecurityKey used to sign the SecurityToken.

securityToken
SecurityToken

The SecurityToken being validated.

validationParameters
TokenValidationParameters

The TokenValidationParameters to be used for validating the token.

Return Value

true if the signing key is valid; otherwise, false.

Remarks

If both IssuerSigningKeyResolverUsingConfiguration and IssuerSigningKeyResolver are set, IssuerSigningKeyResolverUsingConfiguration takes priority.

Applies to