[QGIS-Developer] Use of QgsAuthManager

Richard Duivenvoorde rdmailings at duif.net
Mon Mar 5 04:04:39 PST 2018


Hi Devs,

Starting with a QGIS3 plugin which needs to retrieve data from REST
server with a simple Basic Authentication scheme.

Looking into:
https://docs.qgis.org/testing/en/docs/pyqgis_developer_cookbook/authentication.html#term-authentication-method

But this is old code, eg: QgsAuthManager.instance() is not there anymore?

Anybody pointers to QGIS3 code to use QgsAuthManager, preferably with
use of QgsNetworkManager?

Regards,

Richard Duivenvoorde




More information about the QGIS-Developer mailing list