SecurityTokenDescriptor.AdditionalHeaderClaims 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 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)