pub fn encode( key: &SigningKey, header: Map<String, Value>, claims: &Value, ) -> String
Mint a JWT: header gains alg, and kid when the key’s thumbprint is wanted and none is given.
header
alg
kid