Build the HTTP remote configuration. Creates an `HttpRemoteConfig` with the timeout and security settings specified by the user.
(&self)
| 201 | /// Creates an `HttpRemoteConfig` with the timeout and security settings |
| 202 | /// specified by the user. |
| 203 | async fn build_remote_config(&self) -> HttpRemoteConfig { |
| 204 | let config = HttpRemoteConfig::new() |
| 205 | .with_timeout(Duration::from_secs(self.timeout)) |
| 206 | .danger_accept_invalid_certs(self.insecure); |
| 207 | |
| 208 | // Clone uses the URL directly — identity inferred from subdomain only. |
| 209 | crate::commands::auth::attach_identity(config, &self.url, None).await |
| 210 | } |
| 211 | |
| 212 | /// Get the display name for the repository. |
| 213 | /// |