OptionalalgOptionalctyContent type, e.g. "JWT" for nested JWTs (RFC 7519 section 5.2).
OptionalkidDefaults to the JWK's kid.
OptionalsignatureECDSA signature encoding. Defaults to 'jose' (r || s, RFC 7518 section 3.4).
'der' produces non-standard tokens for legacy interop only.
OptionaltypDefaults to "JWT".
Defaults to the JWK's
alg, otherwise detected from the key.