AlgorithmValidator 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.
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
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour