Header decode options.
OptionalerrorMessagePrefix?: stringOptional prefix for error messages thrown during decoding, to provide more context on where the error occurred
OptionalheaderSchema?: HeaderSchemaSchema to use for validating the header. If not provided the
default zJwtHeader schema will be used
The compact encoded jwt
Decoded and schema-validated JWT header.
Decodes and validates the header of a compact JWT.
This helper does not verify the JWT signature or parse the payload.