pub fn create_auth_provider( cfg: &AuthConfig, ) -> Result<Arc<dyn HttpAuthProvider>, HttpConnectorError>