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
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk