phosphor-service-lock
PAM authentication and Wayland session-lock lifecycle.
Authenticates the session user through PAM and coordinates the ext-session-lock-v1 lock state with the compositor. It is the state-machine layer over phosphor-wayland's SessionLock client and a PAM backend, both composed privately. PAM transactions run off the GUI thread one at a time, and the password is wiped after use and never logged. A lock surface drives LockService: lock() asks the compositor to lock and unlock(password) authenticates and releases it.
Key types
LockServicelock / unlock.PamAuthenticatorauthenticate(user, password) runs PAM off the GUI thread.Dependencies
QtCoreQtQmlphosphor-wayland
See also
References
- Library overview → The library's design notes in the API reference.
- Namespace index → Every symbol under
PhosphorServiceLock::. - API reference → Classes, namespaces and D-Bus interfaces across every library.