public sealed record PolkitOptions : IEquatable<PolkitOptions> How privileged actions reach pkexec.
Constructors
PolkitOptions
public PolkitOptions() No documentation.
Properties
AllowTerminalAuthentication
public bool AllowTerminalAuthentication { get; init; } Whether pkexec may ask for the password on the controlling terminal when no graphical authentication agent is running. Off by default, so an application without an agent reports PlatformUnavailableReason.BackendUnavailable instead of prompting in a terminal it may not show.
PkexecPath
public string? PkexecPath { get; init; } The absolute path of a setuid-root pkexec. Null searches /run/wrappers/bin/pkexec (NixOS), /usr/bin/pkexec and /bin/pkexec, never PATH.