13 Q_INVOKABLE
explicit VFS_pam(QString service, QString group,
bool debug=
false);
The base class for authenticating users.
virtual void read(VFS_request *r)
Return the data contents of this node, or if it's a container call ls()
QJsonArray getGroups(passwd *pw)
Q_INVOKABLE VFS_pam(QString service, QString group, bool debug=false)
virtual void ls(VFS_request *r)
List the contents of this node.
bool validUserPass(QString user, QString password)
QString _service
the pam service file name
virtual QString reportDetails()
Additional details for a generated report.
QString _group
the group (or empty) a user must belong to and also the group whose members will be returned by ls()
The base class for all requests between nodes.