mirror of
https://gitlab.com/fabinfra/fabaccess/bffh.git
synced 2024-11-27 17:14:56 +01:00
17 lines
449 B
Rust
17 lines
449 B
Rust
|
//! Core pluggable authentication traits
|
||
|
//!
|
||
|
//! Two traits are central to this module: [`AuthDB`] and [`UserDB`]. `AuthDB` handles identification
|
||
|
//! and authentication of an user, so is called first on SASL authentcation. It most importantly
|
||
|
//! returns the ID of the (authenticated) user, which is then passed to one or more `UserDB` to
|
||
|
//! look up information on that user.
|
||
|
|
||
|
use super::UserRef;
|
||
|
|
||
|
///
|
||
|
pub trait AuthDB {
|
||
|
}
|
||
|
|
||
|
pub trait UserDB {
|
||
|
|
||
|
}
|