TokenValidationParameters.TokenDecryptionKeyResolver Property
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.
Gets or sets a delegate that will be called to retreive a SecurityKey used for decryption.
public Microsoft.IdentityModel.Tokens.TokenDecryptionKeyResolver TokenDecryptionKeyResolver { get; set; }
member this.TokenDecryptionKeyResolver : Microsoft.IdentityModel.Tokens.TokenDecryptionKeyResolver with get, set
Public Property TokenDecryptionKeyResolver As TokenDecryptionKeyResolver
Property Value
Remarks
This SecurityKey will be used to decrypt the token. This can be helpful when the SecurityToken does not contain a key identifier.