Class: QgsCredentialsConsole¶
-
class
qgis.core.
QgsCredentialsConsole
¶ Bases:
PyQt5.QtCore.QObject
,QgsCredentials
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.
Methods
- param realm
- param password
register instance
Signals
signals that object will be destroyed and shouldn’t be used anymore [signal]
-
childEvent
(self, QChildEvent)¶
-
connectNotify
(self, QMetaMethod)¶
-
customEvent
(self, QEvent)¶
-
destroyed
¶ signals that object will be destroyed and shouldn’t be used anymore [signal]
-
disconnectNotify
(self, QMetaMethod)¶
-
isSignalConnected
(self, QMetaMethod) → bool¶
-
receivers
(self, PYQT_SIGNAL) → int¶
-
request
(self, realm: str, username: str, password: str, message: str = '') → Tuple[bool, str, str]¶ - Parameters
realm (str) –
username (str) –
password (str) –
message (str = '') –
- Return type
Tuple[bool, str, str]
-
requestMasterPassword
(self, password: str, stored: bool = False) → Tuple[bool, str]¶ - Parameters
password (str) –
stored (bool = False) –
- Return type
Tuple[bool, str]
-
sender
(self) → QObject¶
-
senderSignalIndex
(self) → int¶
-
setInstance
(self, instance: QgsCredentials)¶ register instance
-
timerEvent
(self, QTimerEvent)¶