Udostępnij za pośrednictwem


TokenValidationParameters.TokenDecryptionKeys Property

Definition

Gets or sets the IEnumerable<T> that is to be used for decrypting inbound tokens.

public System.Collections.Generic.IEnumerable<Microsoft.IdentityModel.Tokens.SecurityKey> TokenDecryptionKeys { get; set; }
member this.TokenDecryptionKeys : seq<Microsoft.IdentityModel.Tokens.SecurityKey> with get, set
Public Property TokenDecryptionKeys As IEnumerable(Of SecurityKey)

Property Value

Remarks

The decryption keys in this TokenDecryptionKeys collection will only be used if their KeyId matches the 'kid' parameter in the token.

Applies to