Class: QgsAuthConfigEditor

Widget for editing authentication configuration database.

Class Hierarchy

Inheritance diagram of qgis.gui.QgsAuthConfigEditor

Base classes

QWidget

QObject

QPaintDevice

class qgis.gui.QgsAuthConfigEditor[source]

Bases: QWidget

__init__(parent: QWidget | None = None, showUtilities: bool = True, relayMessages: bool = True)

Widget for editing authentication configurations directly in database

Parameters:
  • parent (Optional[QWidget] = None) – Parent widget

  • showUtilities (bool = True) – Whether to show the widget’s utilities button

  • relayMessages (bool = True) – Whether to relay auth manager messages to internal message bar

selectedAuthenticationConfigIds(self) List[str][source]

Returns the list of selected authentication configuration IDs

Added in version 3.20.

Return type:

List[str]

setRelayMessages(self, relay: bool = True)[source]

Sets whether to relay auth manager messages to internal message bar, e.g. when embedding

Parameters:

relay (bool = True)

setShowUtilitiesButton(self, show: bool = True)[source]

Sets whether to show the widget’s utilities button, e.g. when embedding

Parameters:

show (bool = True)

toggleTitleVisibility(self, visible: bool)[source]

Hide the widget’s title, e.g. when embedding

Parameters:

visible (bool)