Default implementation of credentials interface.
More...
#include <qgscredentials.h>
Signals |
void | destroyed () |
| signals that object will be destroyed and shouldn't be used anymore
|
Public Member Functions |
| QgsCredentialsConsole () |
virtual | ~QgsCredentials () |
| virtual destructor
|
bool | get (QString realm, QString &username, QString &password, QString message=QString::null) |
void | lock () |
| Lock the instance against access from multiple threads.
|
QMutex * | mutex () |
| Return pointer to mutex.
|
void | put (QString realm, QString username, QString password) |
void | unlock () |
| Unlock the instance after being locked.
|
Protected Member Functions |
virtual bool | request (QString realm, QString &username, QString &password, QString message=QString::null) override |
| request a password
|
| QgsCredentials () |
void | setInstance (QgsCredentials *theInstance) |
| register instance
|
Detailed Description
Default implementation of credentials interface.
This class outputs message to the standard output and retrieves input from standard input. Therefore it won't be the right choice for apps without GUI.
Definition at line 98 of file qgscredentials.h.
Constructor & Destructor Documentation
QgsCredentialsConsole::QgsCredentialsConsole |
( |
| ) |
|
Member Function Documentation
void QgsCredentialsConsole::destroyed |
( |
| ) |
|
|
signal |
signals that object will be destroyed and shouldn't be used anymore
bool QgsCredentialsConsole::request |
( |
QString |
realm, |
|
|
QString & |
username, |
|
|
QString & |
password, |
|
|
QString |
message = QString::null |
|
) |
| |
|
overrideprotectedvirtual |
The documentation for this class was generated from the following files: