Files
GlobalProtect-openconnect/crates/openconnect/src/network_configuration.rs
T
Kevin Yue 86c8d188c4 feat: add connection dashboard and improve desktop authentication
Add tunnel configuration reporting, an optional CLI dashboard, manual browser authentication, native authentication controls, and broader client identity support. Improve TLS recovery, certificate validation, desktop notifications, and platform integration.
2026-10-19 23:26:38 +08:00

13 lines
468 B
Rust

use std::io;
pub type NetworkConfigurationHandler = dyn Fn(&NetworkConfiguration) -> io::Result<()> + Send + Sync;
/// OpenConnect's configuration inputs for one lifecycle event.
/// Values are copied from OpenConnect before calling the handler. A missing
/// value means the variable must be unset, rather than inherited by a child.
#[derive(Debug, Clone)]
pub struct NetworkConfiguration {
pub reason: String,
pub environment: Vec<(String, Option<String>)>,
}