Skip to content
Permalink
Browse files

add sip bindings to QgsCredentialsNone (followup 42bc938)

  • Loading branch information
jef-n committed Feb 16, 2016
1 parent 54fa23c commit 55727c3fcf5e0e6ac927a69648b243f803a40e0c
Showing with 24 additions and 0 deletions.
  1. +24 −0 python/core/qgscredentials.sip
@@ -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.

0 comments on commit 55727c3

Please sign in to comment.
You can’t perform that action at this time.