fabaccess-bffh/bffhd/authentication/fabfire_bin/mod.rs

12 lines
366 B
Rust
Raw Permalink Normal View History

mod server;
pub use server::FabFire;
use rsasl::mechname::Mechname;
2022-11-16 13:36:37 +01:00
use rsasl::registry::{Mechanism, Side, MECHANISMS};
const MECHNAME: &'static Mechname = &Mechname::const_new_unchecked(b"X-FABFIRE-BIN");
#[linkme::distributed_slice(MECHANISMS)]
2022-11-07 23:09:07 +01:00
pub static FABFIRE: Mechanism =
Mechanism::build(MECHNAME, 300, None, Some(FabFire::new_server), Side::Client);