pub fn check_authorization( authorization_header: Option<&HeaderValue>, api_secret: &str, ) -> Result<(), ()>