pub fn validate_signature<P: ToKey>( encoded_token: &String, signing_key: &P, algorithm: Algorithm) -> Result<bool, Error>