Partager via


SecurityTokenDescriptor.AdditionalInnerHeaderClaims Property

Definition

Gets or sets the Dictionary<TKey,TValue> which contains any custom header claims that need to be added to the inner JWT token header. The 'alg', 'kid', 'x5t', 'enc', and 'zip' claims are added by default based on the SigningCredentials, EncryptingCredentials, and/or CompressionAlgorithm provided and SHOULD NOT be included in this dictionary as this will result in an exception being thrown. For JsonWebTokenHandler, these claims are merged with AdditionalHeaderClaims while adding to the inner JWT header.

public System.Collections.Generic.IDictionary<string,object> AdditionalInnerHeaderClaims { get; set; }
member this.AdditionalInnerHeaderClaims : System.Collections.Generic.IDictionary<string, obj> with get, set
Public Property AdditionalInnerHeaderClaims As IDictionary(Of String, Object)

Property Value

Applies to