TokenDecryptionKeyResolver 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 TokenDecryptionKeyResolver.
public delegate System.Collections.Generic.IEnumerable<Microsoft.IdentityModel.Tokens.SecurityKey> TokenDecryptionKeyResolver(string token, SecurityToken securityToken, string kid, TokenValidationParameters validationParameters);
type TokenDecryptionKeyResolver = delegate of string * SecurityToken * string * TokenValidationParameters -> seq<SecurityKey>
Public Delegate Function TokenDecryptionKeyResolver(token As String, securityToken As SecurityToken, kid As String, validationParameters As TokenValidationParameters) As IEnumerable(Of SecurityKey)
Parameters
- securityToken
- SecurityToken
The SecurityToken to be decrypted. The runtime by default passes null.
- kid
- String
A key identifier. It may be null.
- validationParameters
- TokenValidationParameters
TokenValidationParameters required for validation.
Return Value
A SecurityKey to use when decrypting the token.
Applies to
Обратная связь
https://aka.ms/ContentUserFeedback.
Ожидается в ближайшее время: в течение 2024 года мы постепенно откажемся от GitHub Issues как механизма обратной связи для контента и заменим его новой системой обратной связи. Дополнительные сведения см. в разделеОтправить и просмотреть отзыв по