共用方式為


TokenValidationParameters.TokenDecryptionKeyResolver Property

Definition

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.

Applies to