Files
authy-oidc/src/auth/mod.rs
2026-02-25 22:53:33 +01:00

19 lines
388 B
Rust

use std::fmt::{Debug, Display};
#[derive(Debug)]
pub enum AuthenticateResponse<F: Display + Debug> {
/// 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;