[QGIS-Developer] Use of QgsAuthManager
Richard Duivenvoorde
rdmailings at duif.net
Mon Mar 5 05:09:54 PST 2018
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Authentication_323.png
Type: image/png
Size: 29996 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20180305/50d3ab7e/attachment-0001.png>
More information about the QGIS-Developer
mailing list