use std::fmt::{Debug, Display}; #[derive(Debug)] pub enum AuthenticateResponse { /// All rightie Success, /// The message will be displayed to the frontend, must give a reason of why the user login /// failed Failed(F), } #[cfg(feature = "pamsock")] pub mod pamsock; #[cfg(feature = "pamsock")] use pamsock as auth; pub use auth::authenticate;