pub fn mint( key_data: &KeyData, header: &Header, claims: &Claims, ) -> Result<String>
Create and sign a new JWT token.