On 05-03-18 13:10, Alessandro Pasotti wrote:
> 
> from python you can call:
> 
> QgsApplication.instance().authManager()

Ah, thanks Ale, got that working; ... if I have a Authentication
Configuration in my config with given key.

Is there (still) a way to force users to give username/password, and
just use it for given session

Or should the user always go through QgsAuthConfigSelect().show() to
- first set a master keyword if not set yet on db
- create a Authentication config by pressing the plus-sign?

Isn't this dialog (see attached screenie) not to intimidating for
average user?

Thanks for given input.

Regards,

Richard





_______________________________________________
QGIS-Developer mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to