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.
16 lines
475 B
Rust
16 lines
475 B
Rust
pub(crate) mod credential;
|
|
pub mod gateway_login;
|
|
pub mod gateway_prelogin;
|
|
pub mod portal_getconfig;
|
|
pub mod portal_prelogin;
|
|
|
|
/// Ordered request parameters split into body (form data) and query string.
|
|
///
|
|
/// Uses `Vec<(String, String)>` instead of `HashMap` to preserve parameter
|
|
/// ordering, as some servers may be sensitive to order.
|
|
#[derive(Debug, Clone, Default)]
|
|
pub struct RequestParams {
|
|
pub body: Vec<(String, String)>,
|
|
pub query: Vec<(String, String)>,
|
|
}
|