mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2026-11-19 06:26:14 -05:00
1 parent
08bd4efefa
commit
2d1aa3ba8c
8 files changed
+28
-16
No files matched your search
@@ -7,9 +7,9 @@ use specta::Type;
|
||||
|
||||
use crate::{
|
||||
credential::{AuthCookieCredential, Credential},
|
||||
error::PortalError,
|
||||
gateway::{parse_gateways, Gateway},
|
||||
gp_params::GpParams,
|
||||
portal::PortalError,
|
||||
utils::{normalize_server, parse_gp_error, remove_url_scheme, xml},
|
||||
};
|
||||
|
||||
|
||||
@@ -3,13 +3,3 @@ mod prelogin;
|
||||
|
||||
pub use config::*;
|
||||
pub use prelogin::*;
|
||||
|
||||
use thiserror::Error;
|
||||
|
||||
#[derive(Error, Debug)]
|
||||
pub enum PortalError {
|
||||
#[error("Portal prelogin error: {0}")]
|
||||
PreloginError(String),
|
||||
#[error("Portal config error: {0}")]
|
||||
ConfigError(String),
|
||||
}
|
||||
@@ -6,8 +6,8 @@ use serde::Serialize;
|
||||
use specta::Type;
|
||||
|
||||
use crate::{
|
||||
error::PortalError,
|
||||
gp_params::GpParams,
|
||||
portal::PortalError,
|
||||
utils::{base64, normalize_server, parse_gp_error, xml},
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user