mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-13 00:03:09 -04:00
add sip bindings to QgsCredentialsNone (followup 42bc9387)
This commit is contained in:
parent
54fa23c453
commit
55727c3fcf
@ -56,6 +56,30 @@ class QgsCredentials
|
||||
/**
|
||||
\brief Default implementation of credentials interface
|
||||
|
||||
This class doesn't prompt or return credentials
|
||||
*/
|
||||
class QgsCredentialsNone : QObject, QgsCredentials
|
||||
{
|
||||
%TypeHeaderCode
|
||||
#include <qgscredentials.h>
|
||||
%End
|
||||
|
||||
public:
|
||||
QgsCredentialsNone();
|
||||
|
||||
signals:
|
||||
//! signals that object will be destroyed and shouldn't be used anymore
|
||||
void destroyed();
|
||||
|
||||
protected:
|
||||
virtual bool request( const QString& realm, QString &username /In,Out/, QString &password /In,Out/, const QString& message = QString::null );
|
||||
virtual bool requestMasterPassword( QString &password /In,Out/, bool stored = false );
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
\brief Implementation of credentials interface for the console
|
||||
|
||||
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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user