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.
Resolves the decryption key for the security token.
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
- token
- String
The string representation of the token to be decrypted.
- securityToken
- SecurityToken
The SecurityToken to be decrypted, which is null by default.
- kid
- String
The key identifier, which may be null.
- validationParameters
- TokenValidationParameters
The TokenValidationParameters to be used for validating the token.
Return Value
The SecurityKey used to decrypt the token.