Signs as signJws() does, with the signature computed on libuv's thread pool for a post-quantum, RSA, ECDSA or EdDSA algorithm (#772); HMAC, and a call whose framing only jsonwebtoken can reproduce, are signed in place.
signJws()
jsonwebtoken
the claims
the signing key
as for signJws()
a promise of the compact JWS
Signs as
signJws()does, with the signature computed on libuv's thread pool for a post-quantum, RSA, ECDSA or EdDSA algorithm (#772); HMAC, and a call whose framing onlyjsonwebtokencan reproduce, are signed in place.