pub fn encode(claims: &Value, secret: &str, alg_str: &str) -> Result<String>
Encode JSON claims into a JWT token with default options