JsonWebToken.Cty 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 the 'value' of the 'cty' claim from the header.
public string Cty { get; }
member this.Cty : string
Public ReadOnly Property Cty As String
Property Value
Remarks
Used by JWS applications to declare the media type[IANA.MediaTypes] of the secured content (the payload). See: https://datatracker.ietf.org/doc/html/rfc7516#section-4.1.12 (JWE). See: https://datatracker.ietf.org/doc/html/rfc7515#section-4.1.10 (JWS).
If the 'cty' claim is not found, an empty string is returned.