SecurityTokenDescriptor.AdditionalHeaderClaims Property

Definition

Gets or sets the Dictionary<TKey,TValue> which contains any custom header claims that need to be added to the 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. These claims are only added to the outer header (in case of a JWE).

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

Property Value

Applies to