#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) |
|
void | lock () |
| Lock the instance against access from multiple threads. More...
|
|
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...
|
|
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: