Skip to main content

Crate limes_lock

Crate limes_lock 

Source
Expand description

Screenlock library for limes frontends.

This crate owns lock state, unlock authentication orchestration, and display session-lock backends. It intentionally does not contain login session launch logic.

Re-exports§

pub use display::DisplayBackend;
pub use display::NoopDisplayBackend;
pub use display::WaylandSessionLockBackend;
pub use manager::LockManager;
pub use runtime::LockRuntime;
pub use limes_common as common;
pub use limes_proto as proto;

Modules§

display
manager
runtime

Structs§

AuthRequest
Credentials collected by a frontend and submitted to the backend.
AuthSuccess
Display-only authenticated identity; not authority to launch a session.
Config
EventBus
FrontendRunner
FrontendSpec
NoopLockBackend
Placeholder for tests and explicit no-backend setups. Never authenticates.
PamAuth
StderrEventSink

Enums§

AuthFailure
Authentication failure categories frontends can render differently.
FrontendMode
LimesError
LimesEvent
Events emitted by backend orchestration for logging/diagnostics/UI state.
LockState
Lock state as understood by UI frontends.

Constants§

PAM_SERVICE

Traits§

EventSink
Synchronous observer. Panics are isolated; observers must still return promptly and must not assume authentication/session control authority.
LockAuthBackend
Lock authentication never exposes or opens a login transaction.

Type Aliases§

AuthOutcome
Result