Default implementation of credentials interface.
More...
#include <qgscredentials.h>
|
void | destroyed () |
| signals that object will be destroyed and shouldn't be used anymore More...
|
|
|
| QgsCredentialsNone () |
|
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...
|
|
Default implementation of credentials interface.
This class doesn't prompt or return credentials
Definition at line 146 of file qgscredentials.h.
◆ QgsCredentialsNone()
QgsCredentialsNone::QgsCredentialsNone |
( |
| ) |
|
◆ destroyed
void QgsCredentialsNone::destroyed |
( |
| ) |
|
|
signal |
signals that object will be destroyed and shouldn't be used anymore
◆ request()
bool QgsCredentialsNone::request |
( |
const QString & |
realm, |
|
|
QString & |
username, |
|
|
QString & |
password, |
|
|
const QString & |
message = QString() |
|
) |
| |
|
overrideprotectedvirtual |
◆ requestMasterPassword()
bool QgsCredentialsNone::requestMasterPassword |
( |
QString & |
password, |
|
|
bool |
stored = false |
|
) |
| |
|
overrideprotectedvirtual |
The documentation for this class was generated from the following files: