diff --git a/proxmox-rest-server/src/api_config.rs b/proxmox-rest-server/src/api_config.rs index 39178543..f94390a7 100644 --- a/proxmox-rest-server/src/api_config.rs +++ b/proxmox-rest-server/src/api_config.rs @@ -41,7 +41,7 @@ impl ApiConfig { /// /// `env_type` - The environment type. /// - /// `api_auth` - The Authentification handler + /// `api_auth` - The Authentication handler /// /// `get_index_fn` - callback to generate the root page /// (index). Please note that this fuctions gets a reference to @@ -217,9 +217,9 @@ impl ApiConfig { Ok(()) } - /// Enable the authentification log feature + /// Enable the authentication log feature /// - /// When enabled, all authentification requests are logged to the + /// When enabled, all authentication requests are logged to the /// specified file. This function also registers a /// `api-auth-log-reopen` command one the [CommandSocket]. pub fn enable_auth_log

( diff --git a/proxmox-rest-server/src/lib.rs b/proxmox-rest-server/src/lib.rs index 6ac2b146..fe392775 100644 --- a/proxmox-rest-server/src/lib.rs +++ b/proxmox-rest-server/src/lib.rs @@ -5,13 +5,12 @@ //! //! ## Features //! -//! * HTTP and HTTP2 //! * highly threaded code, uses Rust async //! * static API definitions using schemas //! * restartable systemd daemons using `systemd_notify` //! * support for long running worker tasks (threads or async tokio tasks) -//! * supports separate access and authentification log files -//! * separate control socket to trigger management operations +//! * supports separate access and authentication log files +//! * extra control socket to trigger management operations //! - logfile rotation //! - worker task management //! * generic interface to authenticate user @@ -57,7 +56,7 @@ pub use worker_task::*; mod h2service; pub use h2service::*; -/// Authentification Error +/// Authentication Error pub enum AuthError { Generic(Error), NoData, @@ -69,7 +68,7 @@ impl From for AuthError { } } -/// User Authentification trait +/// User Authentication trait pub trait ApiAuth { /// Extract user credentials from headers and check them. ///