A generic dialog for requesting credentials.
More...
#include <qgscredentialdialog.h>
|
| QgsCredentialDialog (QWidget *parent=nullptr, Qt::WindowFlags fl=QgsGuiUtils::ModalDialogFlags) |
| QgsCredentialDialog constructor. More...
|
|
virtual | ~QgsCredentials ()=default |
| Destructor. More...
|
|
bool | get (const QString &realm, QString &username, QString &password, const QString &message=QString()) |
| Requests credentials for the specified realm. More...
|
|
bool | getMasterPassword (QString &password, bool stored=false) |
|
Q_DECL_DEPRECATED void | lock () |
| Lock the instance against access from multiple threads. More...
|
|
Q_DECL_DEPRECATED QMutex * | mutex () |
| Returns pointer to mutex. More...
|
|
void | put (const QString &realm, const QString &username, const QString &password) |
| Stores the correct username and password for the specified realm. More...
|
|
Q_DECL_DEPRECATED void | unlock () |
| Unlock the instance after being locked. More...
|
|
A generic dialog for requesting credentials.
Definition at line 34 of file qgscredentialdialog.h.
◆ QgsCredentialDialog()
QgsCredentialDialog::QgsCredentialDialog |
( |
QWidget * |
parent = nullptr , |
|
|
Qt::WindowFlags |
fl = QgsGuiUtils::ModalDialogFlags |
|
) |
| |
◆ credentialsRequested
void QgsCredentialDialog::credentialsRequested |
( |
const QString & |
, |
|
|
QString * |
, |
|
|
QString * |
, |
|
|
const QString & |
, |
|
|
bool * |
|
|
) |
| |
|
signal |
- Note
- not available in Python bindings
◆ credentialsRequestedMasterPassword
void QgsCredentialDialog::credentialsRequestedMasterPassword |
( |
QString * |
, |
|
|
bool |
, |
|
|
bool * |
|
|
) |
| |
|
signal |
- Note
- not available in Python bindings
◆ request()
bool QgsCredentialDialog::request |
( |
const QString & |
realm, |
|
|
QString & |
username, |
|
|
QString & |
password, |
|
|
const QString & |
message = QString() |
|
) |
| |
|
overrideprotectedvirtual |
◆ requestMasterPassword()
bool QgsCredentialDialog::requestMasterPassword |
( |
QString & |
password, |
|
|
bool |
stored = false |
|
) |
| |
|
overrideprotectedvirtual |
The documentation for this class was generated from the following files: