IssuerSigningKeyValidator Delegate
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 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.