17 #ifndef QGSCREDENTIALDIALOG_H 18 #define QGSCREDENTIALDIALOG_H 20 #include "ui_qgscredentialdialog.h" 45 void credentialsRequested(
const QString &, QString *, QString *,
const QString &,
bool * );
48 void credentialsRequestedMasterPassword( QString *,
bool,
bool * );
52 void requestCredentials(
const QString &, QString *, QString *,
const QString &,
bool * );
54 void requestCredentialsMasterPassword( QString *password,
bool stored,
bool *ok );
56 void leMasterPass_textChanged(
const QString &pass );
57 void leMasterPassVerify_textChanged(
const QString &pass );
58 void chkbxEraseAuthDb_toggled(
bool checked );
61 bool request(
const QString &realm, QString &username
SIP_INOUT, QString &password SIP_INOUT,
const QString &message = QString() )
override;
66 QPushButton *mOkButton =
nullptr;
Interface for requesting credentials in QGIS in GUI independent way.
virtual bool requestMasterPassword(QString &password, bool stored=false)=0
request a master password
virtual bool request(const QString &realm, QString &username, QString &password, const QString &message=QString())=0
request a password
A generic dialog for requesting credentials.