fabaccess-bffh/bffhd/authentication/fabfire_bin/mod.rs
Nadja Reitzenstein 964293f653 Do a validate
2022-11-16 13:38:32 +01:00

12 lines
366 B
Rust

mod server;
pub use server::FabFire;
use rsasl::mechname::Mechname;
use rsasl::registry::{Mechanism, Side, MECHANISMS};
const MECHNAME: &'static Mechname = &Mechname::const_new_unchecked(b"X-FABFIRE-BIN");
#[linkme::distributed_slice(MECHANISMS)]
pub static FABFIRE: Mechanism =
Mechanism::build(MECHNAME, 300, None, Some(FabFire::new_server), Side::Client);