QGIS API Documentation  master-3f58142
QgsCredentialsConsole Class Reference

Default implementation of credentials interface. More...

#include <qgscredentials.h>

+ Inheritance diagram for QgsCredentialsConsole:
+ Collaboration diagram for QgsCredentialsConsole:

List of all members.

Signals

void destroyed ()
 signals that object will be destroyed and shouldn't be used anymore

Public Member Functions

 QgsCredentialsConsole ()

Protected Member Functions

virtual bool request (QString realm, QString &username, QString &password, QString message=QString::null)
 request a password

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 71 of file qgscredentials.h.


Constructor & Destructor Documentation


Member Function Documentation

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 
) [protected, virtual]

request a password

Implements QgsCredentials.

Definition at line 82 of file qgscredentials.cpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines