Build the HTTP remote configuration. Creates an `HttpRemoteConfig` with the timeout and security settings specified by the user.
(&self)
| 303 | /// Creates an `HttpRemoteConfig` with the timeout and security settings |
| 304 | /// specified by the user. |
| 305 | async fn build_remote_config(&self) -> HttpRemoteConfig { |
| 306 | let config = HttpRemoteConfig::new() |
| 307 | .with_timeout(Duration::from_secs(self.timeout)) |
| 308 | .danger_accept_invalid_certs(self.insecure); |
| 309 | |
| 310 | // Clone uses the URL directly — identity inferred from subdomain only. |
| 311 | crate::commands::auth::attach_identity(config, &self.url, None).await |
| 312 | } |
| 313 | |
| 314 | /// Get the display name for the repository. |
| 315 | /// |