mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2026-11-18 22:16:18 -05:00
Main changes: - Refactor connect/auth flows around a single OS profile and host identity model, including gateway fallback and cookie-on-stdin handling. - Align request parameters, HIP host-id propagation, SAML webview user-agent behavior, and portal default-browser handling with observed official client behavior. - Add opt-in cookie cache support and Microsoft Defender HIP reporting while keeping host-id validation explicit. - Add BSD build, packaging, release artifact, and provenance support with FreeBSD/OpenBSD path and dependency cleanup. - Update NixOS install documentation and dependency compatibility fixes.
21 lines
492 B
Rust
21 lines
492 B
Rust
mod auth_messenger;
|
|
mod webview_auth;
|
|
|
|
#[cfg(any(target_os = "linux", target_os = "freebsd", target_os = "openbsd"))]
|
|
#[path = "webview/gtk.rs"]
|
|
mod platform_impl;
|
|
|
|
#[cfg(target_os = "macos")]
|
|
#[path = "webview/macos.rs"]
|
|
mod platform_impl;
|
|
|
|
#[cfg(not(any(
|
|
target_os = "macos",
|
|
target_os = "linux",
|
|
target_os = "freebsd",
|
|
target_os = "openbsd"
|
|
)))]
|
|
compile_error!("webview-auth is only supported on macOS and GTK/WebKitGTK Unix targets");
|
|
|
|
pub use webview_auth::WebviewAuthenticator;
|