You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
353 B
23 lines
353 B
#ifndef PAMTEST_H
|
|
#define PAMTEST_H
|
|
|
|
#include <QObject>
|
|
|
|
#include <security/_pam_types.h>
|
|
|
|
class PamTest : public QObject
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
PamTest(QObject *parent = nullptr);
|
|
~PamTest();
|
|
|
|
void startPam();
|
|
|
|
private:
|
|
static int PAMConversation(int num_msg, const pam_message **msg, pam_response **resp, void *app_data);
|
|
|
|
};
|
|
|
|
#endif
|
|
|