frank_jwt
pub fn encode<P: ToKey>( header: JsonValue, signing_key: &P, payload: &JsonValue, algorithm: Algorithm) -> Result<String, Error>