AlgorithmValidator Delegate

Definition

Definition for AlgorithmValidator

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

Parameters

algorithm
String

The algorithm to validate.

securityKey
SecurityKey

The SecurityKey that signed the SecurityToken.

securityToken
SecurityToken

The SecurityToken being validated.

validationParameters
TokenValidationParameters

TokenValidationParameters required for validation.

Return Value

true if the algorithm is considered valid

Applies to