mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2026-11-19 06:26:14 -05:00
refactor: align GP profile and packaging flow
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.
This commit is contained in:
92 files changed
+9847
-2868
No files matched your search
@@ -0,0 +1,15 @@
|
||||
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)>,
|
||||
}
|
||||
Reference in new issue
Block a user