mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2026-11-19 14:36:15 -05:00
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.
13 lines
468 B
Rust
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>)>,
|
|
}
|