pub fn mint(secret: &str, sub: &str, nbf: Option<u64>, exp: u64) -> StringExpand description
An HS256 JWT over {sub, exp[, nbf]}. The header and claim order match
jwt_signer.ts’s JSON.stringify output, so a token is byte-comparable
with the test runtime’s.