proxmox-rest-server: fix spelling errors
This commit is contained in:
parent
2194bc59c8
commit
b914b94773
|
@ -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<P>(
|
||||
|
|
|
@ -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<Error> for AuthError {
|
|||
}
|
||||
}
|
||||
|
||||
/// User Authentification trait
|
||||
/// User Authentication trait
|
||||
pub trait ApiAuth {
|
||||
/// Extract user credentials from headers and check them.
|
||||
///
|
||||
|
|
Loading…
Reference in New Issue