limes-common 0.2.0

Shared authentication, config, events, and errors for limes crates.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Shared building blocks for limes login and screenlock crates.
//!
//! This crate owns code that both login-manager and screenlock flows need:
//! PAM authentication, common configuration, events, frontend launching, and
//! shared error handling.

pub mod auth;
pub mod config;
pub mod error;
pub mod events;
pub mod frontend;

pub use auth::{AuthBackend, LockAuthBackend, NoopLockBackend, PAM_SERVICE, PamAuth, PamLockAuth};
pub use config::{Config, FrontendSpec};
pub use error::{LimesError, Result};
pub use events::{EventBus, EventSink, StderrEventSink};
pub use frontend::{FrontendMode, FrontendRunner};