17 #ifndef QGSCREDENTIALDIALOG_H
18 #define QGSCREDENTIALDIALOG_H
20 #include "ui_qgscredentialdialog.h"
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;
70 enum ConnectionsIgnoreMode
77 static QMutex sIgnoredConnectionsCacheMutex;
79 ConnectionsIgnoreMode mIgnoreMode = ConnectionsIgnoreMode::IgnoreTemporarily;
A generic dialog for requesting credentials.
void credentialsRequested(const QString &, QString *, QString *, const QString &, bool *)
void credentialsRequestedMasterPassword(QString *, bool, bool *)
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