-->
import Quickshell.Services.Pam
Connection to pam. See the module documentation for pam configuration advice.
The pam configuration to use. Defaults to “login”.
The configuration should name a file inside configDirectory.
This property may not be set while active is true.
The pam configuration directory to use. Defaults to “/etc/pam.d”.
The configuration directory is resolved relative to the current file if not an absolute path.
This property may not be set while active is true.
The last message sent by pam.
If the last message should be shown as an error.
If pam currently wants a response.
Responses can be returned with the respond() function.
If the user’s response should be visible. Only valid when responseRequired is true.
The user to authenticate as. If unset the current user will be used.
This property may not be set while active is true.
Abort a running authentication session.
Respond to pam.
May not be called unless responseRequired is true.
Start an authentication session. Returns if the session was started successfully.
Emitted whenever authentication completes.
Emitted if pam fails to perform authentication normally.
A completed(PamResult.Error)
will be emitted after this event.
Emitted whenever pam sends a new message, after the change signals for
message
, messageIsError
, and responseRequired
.